Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 103.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.931, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004584/0.9356, allocations: 4.754 MB / 1.309 GB, free: 28.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.9377, allocations: 2.702 MB / 1.311 GB, free: 26.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.9378, allocations: 3.125 kB / 1.311 GB, free: 26.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.938, allocations: 46.8 kB / 1.311 GB, free: 26.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.9383, allocations: 101.8 kB / 1.311 GB, free: 26.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.9393, allocations: 0.5077 MB / 1.312 GB, free: 26.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.9395, allocations: 233.5 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.9395, allocations: 15.64 kB / 1.312 GB, free: 26.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.9397, allocations: 114.6 kB / 1.312 GB, free: 26.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.9398, allocations: 97.06 kB / 1.312 GB, free: 26.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.9398, allocations: 8.625 kB / 1.312 GB, free: 26.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.9403, allocations: 370.9 kB / 1.313 GB, free: 26.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.9404, allocations: 38.27 kB / 1.313 GB, free: 26.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.9404, allocations: 84.28 kB / 1.313 GB, free: 25.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.9409, allocations: 359.6 kB / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9409, allocations: 0 / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9409, allocations: 0 / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9409, allocations: 4 kB / 1.313 GB, free: 25.86 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005955/0.9415, allocations: 0.5051 MB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.9415, allocations: 8.625 kB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.9416, allocations: 58.34 kB / 1.314 GB, free: 25.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.9417, allocations: 23.72 kB / 1.314 GB, free: 25.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.942, allocations: 212.3 kB / 1.314 GB, free: 25.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.942, allocations: 14.39 kB / 1.314 GB, free: 25.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.942, allocations: 16.03 kB / 1.314 GB, free: 25.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.9423, allocations: 249.8 kB / 1.314 GB, free: 24.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.9423, allocations: 0 / 1.314 GB, free: 24.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.9423, allocations: 7.25 kB / 1.314 GB, free: 24.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.9424, allocations: 6.219 kB / 1.314 GB, free: 24.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.9428, allocations: 432.4 kB / 1.315 GB, free: 24.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.9436, allocations: 0.951 MB / 1.316 GB, free: 24.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.9438, allocations: 146.5 kB / 1.316 GB, free: 23.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.9439, allocations: 59.03 kB / 1.316 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/0.9447, allocations: 1.824 MB / 1.318 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.9447, allocations: 34.56 kB / 1.318 GB, free: 21.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.9447, allocations: 2.5 kB / 1.318 GB, free: 21.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0002722/0.945, allocations: 158.1 kB / 1.318 GB, free: 21.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.945, allocations: 54.31 kB / 1.318 GB, free: 21.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.9451, allocations: 166.8 kB / 1.318 GB, free: 21.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.9451, allocations: 32.33 kB / 1.318 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.9452, allocations: 143.8 kB / 1.318 GB, free: 21.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9452, allocations: 55.62 kB / 1.318 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.9452, allocations: 54.8 kB / 1.318 GB, free: 21.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.9453, allocations: 324.9 kB / 1.319 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.9453, allocations: 40.77 kB / 1.319 GB, free: 21.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.9454, allocations: 138.5 kB / 1.319 GB, free: 20.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.9456, allocations: 204.4 kB / 1.319 GB, free: 20.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9456, allocations: 8 kB / 1.319 GB, free: 20.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002518/0.9458, allocations: 217.9 kB / 1.319 GB, free: 20.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9458, allocations: 5.406 kB / 1.319 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9459, allocations: 7.281 kB / 1.319 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9459, allocations: 9.5 kB / 1.319 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.946, allocations: 61.33 kB / 1.319 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.946, allocations: 12.69 kB / 1.319 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.9461, allocations: 27.72 kB / 1.319 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.9462, allocations: 10.81 kB / 1.319 GB, free: 20.56 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.107e-05/0.9462, allocations: 138.5 kB / 1.319 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.9463, allocations: 16.16 kB / 1.319 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.9465, allocations: 149.8 kB / 1.32 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9465, allocations: 6.875 kB / 1.32 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9465, allocations: 7.328 kB / 1.32 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9465, allocations: 0 / 1.32 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.9467, allocations: 215.5 kB / 1.32 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9467, allocations: 0 / 1.32 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.9468, allocations: 20.84 kB / 1.32 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9468, allocations: 2.906 kB / 1.32 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.9468, allocations: 4 kB / 1.32 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9468, allocations: 6.812 kB / 1.32 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9468, allocations: 3.422 kB / 1.32 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.947, allocations: 228.8 kB / 1.32 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.947, allocations: 106.9 kB / 1.32 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.9471, allocations: 2.625 kB / 1.32 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.9473, allocations: 23.05 kB / 1.32 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.9473, allocations: 8.672 kB / 1.32 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.9473, allocations: 12.84 kB / 1.32 GB, free: 19.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.9473, allocations: 122.7 kB / 1.32 GB, free: 19.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9473, allocations: 0 / 1.32 GB, free: 19.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000353/0.9477, allocations: 81.09 kB / 1.32 GB, free: 19.7 MB / 1.061 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005112/0.9482, allocations: 0.8276 MB / 1.321 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.9484, allocations: 118.7 kB / 1.321 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9484, allocations: 0 / 1.321 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.9485, allocations: 39.75 kB / 1.321 GB, free: 18.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.9489, allocations: 62.88 kB / 1.321 GB, free: 18.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.9504, allocations: 2.053 MB / 1.323 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.9505, allocations: 0.7112 MB / 1.324 GB, free: 16.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.9507, allocations: 45.44 kB / 1.324 GB, free: 16.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.9507, allocations: 47.98 kB / 1.324 GB, free: 16.47 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9507, allocations: 0 / 1.324 GB, free: 16.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.979, allocations: 5.276 MB / 1.329 GB, free: 15.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/9.206, allocations: 11.94 kB / 1.329 GB, free: 15.73 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.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: 15.464573403820395]