Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001549/0.001549, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001835/0.001835, allocations: 218.4 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.243/3.243, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.03 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002334/0.3555, allocations: 1.293 MB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.3594, allocations: 3.014 MB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.3594, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.3594, allocations: 3.938 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.3594, allocations: 11.91 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3599, allocations: 99.61 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.36, allocations: 47.78 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.3601, allocations: 0 / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.3606, allocations: 187.7 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.3606, allocations: 19.92 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3606, allocations: 0 / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.3608, allocations: 71.81 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3608, allocations: 7.969 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3608, allocations: 15.94 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.361, allocations: 67.78 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.361, allocations: 4 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.361, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.361, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003808/0.3614, allocations: 266.3 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3614, allocations: 12.03 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.3615, allocations: 30.75 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3615, allocations: 8.922 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.3616, allocations: 110.5 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3616, allocations: 8.375 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3616, allocations: 8.328 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3618, allocations: 61.55 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3618, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3618, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3618, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.3618, allocations: 19.98 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.362, allocations: 144.7 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.3621, allocations: 50.5 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.3621, allocations: 12.86 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.3627, allocations: 245.8 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3627, allocations: 30.56 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3627, allocations: 0 / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005721/0.3633, allocations: 237.9 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.3633, allocations: 51.41 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.3634, allocations: 109.7 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3634, allocations: 25.7 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3635, allocations: 92.09 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3635, allocations: 27.73 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3635, allocations: 21.72 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3637, allocations: 326.8 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.3637, allocations: 15.94 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.3638, allocations: 49.14 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/0.3638, allocations: 77.08 kB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3638, allocations: 0 / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.364, allocations: 97.73 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.364, allocations: 8 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.364, allocations: 0 / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.364, allocations: 4.047 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.3641, allocations: 23.92 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3641, allocations: 8.109 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.3641, allocations: 7.938 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3642, allocations: 8 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.166e-05/0.3642, allocations: 114.4 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3643, allocations: 4 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3643, allocations: 12.06 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3643, allocations: 3.938 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3643, allocations: 0 / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3643, allocations: 3.938 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.3646, allocations: 144.7 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3646, allocations: 0 / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.3646, allocations: 19.92 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3646, allocations: 4 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3646, allocations: 0 / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3646, allocations: 0 / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3646, allocations: 0 / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3648, allocations: 183.5 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3649, allocations: 8 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3649, allocations: 4 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.365, allocations: 4.031 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.365, allocations: 7.938 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.365, allocations: 4 kB / 1.36 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.3651, allocations: 83.22 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3651, allocations: 0 / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002335/0.3653, allocations: 15.98 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0005338/0.3658, allocations: 0.7046 MB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3659, allocations: 43.91 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3659, allocations: 0 / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.366, allocations: 15.94 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3663, allocations: 17.97 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3679, allocations: 1.537 MB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3682, allocations: 0.6807 MB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.3682, allocations: 4 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3683, allocations: 19.44 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3683, allocations: 0 / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3971, allocations: 1.827 MB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.75, allocations: 10.59 kB / 1.365 GB, free: 11.66 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.521487452089787]