Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001714/0.001714, allocations: 104.3 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.002019/0.002019, 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.715 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.944/2.944, allocations: 497.2 MB / 0.7812 GB, free: 11.95 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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.91 kB / 1.134 GB, free: 13.08 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 173.9 MB / 1.304 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004782/1.023, allocations: 4.461 MB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002084/1.025, allocations: 2.703 MB / 1.311 GB, free: 26.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/1.025, allocations: 0 / 1.311 GB, free: 26.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002674/1.025, allocations: 45.34 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000251/1.025, allocations: 104.8 kB / 1.311 GB, free: 26.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/1.026, allocations: 497.3 kB / 1.312 GB, free: 26.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/1.027, allocations: 242.5 kB / 1.312 GB, free: 26.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/1.027, allocations: 11.09 kB / 1.312 GB, free: 26.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/1.027, allocations: 422.5 kB / 1.312 GB, free: 26.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/1.028, allocations: 90.78 kB / 1.312 GB, free: 26.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/1.028, allocations: 8.562 kB / 1.312 GB, free: 26.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/1.028, allocations: 0.5012 MB / 1.313 GB, free: 26.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/1.028, allocations: 36.44 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/1.028, allocations: 74.7 kB / 1.313 GB, free: 26.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/1.029, allocations: 358.3 kB / 1.313 GB, free: 25.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.029, allocations: 0 / 1.313 GB, free: 25.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/1.029, allocations: 3.938 kB / 1.313 GB, free: 25.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.952e-06/1.029, allocations: 0 / 1.313 GB, free: 25.92 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.0006023/1.03, allocations: 0.4972 MB / 1.314 GB, free: 25.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/1.03, allocations: 9.031 kB / 1.314 GB, free: 25.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/1.03, allocations: 52.64 kB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/1.03, allocations: 24.7 kB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.03, allocations: 209.9 kB / 1.314 GB, free: 25.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/1.03, allocations: 14.53 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/1.03, allocations: 13.5 kB / 1.314 GB, free: 25.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/1.03, allocations: 255.5 kB / 1.314 GB, free: 25.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.03, allocations: 0 / 1.314 GB, free: 25.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/1.03, allocations: 8.938 kB / 1.314 GB, free: 25.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/1.03, allocations: 8.328 kB / 1.314 GB, free: 25.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/1.031, allocations: 428.5 kB / 1.315 GB, free: 24.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/1.032, allocations: 1.005 MB / 1.316 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/1.032, allocations: 156.5 kB / 1.316 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/1.032, allocations: 55.66 kB / 1.316 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008834/1.033, allocations: 1.831 MB / 1.318 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.033, allocations: 33.19 kB / 1.318 GB, free: 21.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.033, allocations: 0 / 1.318 GB, free: 21.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003006/1.033, allocations: 158.7 kB / 1.318 GB, free: 21.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/1.033, allocations: 54.03 kB / 1.318 GB, free: 21.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.033, allocations: 164.9 kB / 1.318 GB, free: 21.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/1.033, allocations: 32.33 kB / 1.318 GB, free: 21.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/1.033, allocations: 147 kB / 1.318 GB, free: 21.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/1.033, allocations: 48.34 kB / 1.318 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/1.033, allocations: 60.55 kB / 1.318 GB, free: 21.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/1.033, allocations: 320.9 kB / 1.319 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/1.033, allocations: 36.22 kB / 1.319 GB, free: 21.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/1.034, allocations: 148.3 kB / 1.319 GB, free: 20.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/1.034, allocations: 197.5 kB / 1.319 GB, free: 20.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.034, allocations: 3.156 kB / 1.319 GB, free: 20.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002599/1.034, allocations: 218.9 kB / 1.319 GB, free: 20.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.034, allocations: 8.531 kB / 1.319 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.034, allocations: 9.156 kB / 1.319 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.034, allocations: 9.406 kB / 1.319 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.034, allocations: 45.95 kB / 1.319 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.034, allocations: 13.22 kB / 1.319 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/1.034, allocations: 28.19 kB / 1.319 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/1.034, allocations: 18.97 kB / 1.319 GB, free: 20.53 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 6.764e-05/1.034, allocations: 130.5 kB / 1.32 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/1.034, allocations: 16.06 kB / 1.32 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/1.035, allocations: 155.5 kB / 1.32 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/1.035, allocations: 7.312 kB / 1.32 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.035, allocations: 2.938 kB / 1.32 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.035, allocations: 0 / 1.32 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.035, allocations: 212.1 kB / 1.32 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.035, allocations: 6.844 kB / 1.32 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/1.035, allocations: 24.38 kB / 1.32 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.035, allocations: 2.781 kB / 1.32 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/1.035, allocations: 3.469 kB / 1.32 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.035, allocations: 10.69 kB / 1.32 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.035, allocations: 0 / 1.32 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.035, allocations: 223.7 kB / 1.32 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/1.035, allocations: 103.9 kB / 1.32 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/1.035, allocations: 6.906 kB / 1.32 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.035, allocations: 24.66 kB / 1.32 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/1.035, allocations: 9.078 kB / 1.32 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.035, allocations: 9.875 kB / 1.32 GB, free: 19.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.795e-05/1.036, allocations: 122.6 kB / 1.32 GB, free: 19.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.036, allocations: 0 / 1.32 GB, free: 19.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003649/1.036, allocations: 82.78 kB / 1.321 GB, free: 19.68 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.0005357/1.036, allocations: 0.8327 MB / 1.321 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002014/1.037, allocations: 107.7 kB / 1.321 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.037, allocations: 4.062 kB / 1.321 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/1.037, allocations: 41.56 kB / 1.321 GB, free: 18.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/1.037, allocations: 56.59 kB / 1.322 GB, free: 18.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/1.039, allocations: 2.049 MB / 1.324 GB, free: 17.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/1.039, allocations: 0.7151 MB / 1.324 GB, free: 16.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001418/1.039, allocations: 42.7 kB / 1.324 GB, free: 16.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/1.039, allocations: 48.81 kB / 1.324 GB, free: 16.44 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.039, allocations: 0 / 1.324 GB, free: 16.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/1.068, allocations: 5.207 MB / 1.329 GB, free: 15.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/9.176, allocations: 7.562 kB / 1.329 GB, free: 15.71 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.528036408126354]