Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9226/0.9226, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.767/1.767, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.369e-05, allocations: 9.172 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00221/0.002234, allocations: 1.761 MB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008718/0.003105, allocations: 0.7047 MB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.003166, allocations: 0 / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.0032, allocations: 11.86 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.003252, allocations: 19.75 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.003696, allocations: 189.8 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.003859, allocations: 131.6 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.003986, allocations: 33.61 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004137, allocations: 87.8 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.004202, allocations: 35.88 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.004223, allocations: 8 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.00431, allocations: 55.89 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.004337, allocations: 31.89 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.004373, allocations: 35.92 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004567, allocations: 179.4 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004569, allocations: 0 / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.00457, allocations: 0 / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004575, allocations: 0 / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004421/0.005017, allocations: 369.6 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005055, allocations: 8.031 kB / 0.9845 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.0051, allocations: 42.73 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.005593, allocations: 132.7 kB / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.005786, allocations: 150.1 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.005864, allocations: 119.4 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.005878, allocations: 4.375 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.006195, allocations: 229 kB / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.006203, allocations: 3.984 kB / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.006218, allocations: 0 / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006223, allocations: 4 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.006525, allocations: 155.8 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.007165, allocations: 433.1 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.007651, allocations: 214.3 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.007798, allocations: 80.84 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.007817, allocations: 4 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.007839, allocations: 38.56 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.00784, allocations: 0 / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.000553/0.008393, allocations: 261.3 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.008422, allocations: 55.41 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.008507, allocations: 144.4 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.008526, allocations: 29.7 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.008577, allocations: 112.2 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.008595, allocations: 15.91 kB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.008634, allocations: 21.7 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.008708, allocations: 322.8 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.008857, allocations: 75.92 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.00902, allocations: 102.5 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.009313, allocations: 162.4 kB / 0.9873 GB, free: 11.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009315, allocations: 0 / 0.9873 GB, free: 11.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003362/0.009651, allocations: 201.7 kB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.009663, allocations: 16 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.009667, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.009677, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.009803, allocations: 39.95 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.009807, allocations: 0 / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.009892, allocations: 31.89 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.009901, allocations: 4 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.009974, allocations: 113.8 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.009998, allocations: 19.89 kB / 0.9877 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.01037, allocations: 202.2 kB / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01037, allocations: 0 / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01038, allocations: 4 kB / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.01038, allocations: 0 / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.01053, allocations: 185.7 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.01053, allocations: 0 / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.01062, allocations: 35.95 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01063, allocations: 3.938 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01063, allocations: 3.938 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01064, allocations: 3.984 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01064, allocations: 0 / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.01099, allocations: 283.3 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.011, allocations: 19.92 kB / 0.9884 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.01102, allocations: 3.938 kB / 0.9884 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01115, allocations: 39.89 kB / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.01118, allocations: 7.984 kB / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01119, allocations: 4 kB / 0.9885 GB, free: 10.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.01124, allocations: 108.9 kB / 0.9886 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01124, allocations: 0 / 0.9886 GB, free: 10.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001677/0.0114, allocations: 31.89 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005412/0.01195, allocations: 0.8178 MB / 0.9894 GB, free: 9.551 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.01229, allocations: 163.8 kB / 0.9896 GB, free: 9.391 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01229, allocations: 0 / 0.9896 GB, free: 9.391 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.01244, allocations: 87.97 kB / 0.9896 GB, free: 9.305 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.01265, allocations: 8 kB / 0.9897 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.01447, allocations: 1.849 MB / 0.9915 GB, free: 7.355 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.01453, allocations: 85.31 kB / 0.9915 GB, free: 7.254 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.01458, allocations: 16 kB / 0.9916 GB, free: 7.238 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.01466, allocations: 36.47 kB / 0.9916 GB, free: 7.203 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.01466, allocations: 0 / 0.9916 GB, free: 7.203 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02987, allocations: 3.603 MB / 0.9951 GB, free: 3.758 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.036, allocations: 5.859 kB / 0.9951 GB, free: 3.758 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.12533547822386]