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.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.001517/0.001517, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001902/0.001902, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.056/3.056, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",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.001915/0.001915, allocations: 65.95 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.00647/0.3445, allocations: 4.239 MB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.3475, allocations: 2.446 MB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.3476, allocations: 4 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3478, allocations: 43.7 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.3481, allocations: 95.34 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3493, allocations: 0.5123 MB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.3496, allocations: 239.9 kB / 1.353 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3496, allocations: 13.69 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.3508, allocations: 493.8 kB / 1.353 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.351, allocations: 95.58 kB / 1.353 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.351, allocations: 8 kB / 1.353 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.352, allocations: 491.1 kB / 1.354 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.3521, allocations: 39.84 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.3522, allocations: 71.7 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.3528, allocations: 342.9 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3528, allocations: 0 / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3528, allocations: 0 / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3528, allocations: 0 / 1.354 GB, free: 6.754 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007257/0.3535, allocations: 437.4 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3535, allocations: 12.03 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.3535, allocations: 12.45 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.3536, allocations: 50.73 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3538, allocations: 24.84 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.354, allocations: 154.3 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.354, allocations: 16.69 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3541, allocations: 16.12 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.3545, allocations: 462.6 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3546, allocations: 0 / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3546, allocations: 8 kB / 1.355 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.3546, allocations: 4 kB / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.3551, allocations: 443.4 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3562, allocations: 0.8792 MB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3565, allocations: 147.2 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3566, allocations: 56.88 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/0.3574, allocations: 451.8 kB / 1.357 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3574, allocations: 42.55 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3574, allocations: 0 / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000326/0.3577, allocations: 141.5 kB / 1.357 GB, free: 3.199 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.3578, allocations: 63.33 kB / 1.357 GB, free: 3.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.358, allocations: 168.4 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.358, allocations: 33.69 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3581, allocations: 144.1 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.3581, allocations: 55.48 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.3582, allocations: 49.7 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3584, allocations: 322.8 kB / 1.358 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.3584, allocations: 43.91 kB / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3586, allocations: 133.7 kB / 1.358 GB, free: 2.105 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3588, allocations: 199.9 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3588, allocations: 7.938 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000336/0.3592, allocations: 213.6 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3592, allocations: 16 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3592, allocations: 4 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3592, allocations: 7.938 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3594, allocations: 59.92 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3594, allocations: 7.984 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3595, allocations: 23.78 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3596, allocations: 16 kB / 1.359 GB, free: 1.508 MB / 1.045 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 0.0001108/0.3597, allocations: 137.6 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3597, allocations: 15.91 kB / 1.359 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.36, allocations: 166.9 kB / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.36, allocations: 0 / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.36, allocations: 0 / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.36, allocations: 3.938 kB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3603, allocations: 176.6 kB / 1.359 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3603, allocations: 4 kB / 1.359 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3604, allocations: 31.92 kB / 1.359 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3604, allocations: 4 kB / 1.359 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3604, allocations: 3.938 kB / 1.359 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3604, allocations: 0 / 1.359 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3604, allocations: 0 / 1.359 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3607, allocations: 221.4 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.3608, allocations: 31.81 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3608, allocations: 11.88 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.361, allocations: 15.97 kB / 1.36 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.361, allocations: 15.98 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3611, allocations: 4 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000106/0.3612, allocations: 120 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3612, allocations: 0 / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004072/0.3616, allocations: 83.86 kB / 1.36 GB, free: 424 kB / 1.045 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.0008453/0.3624, allocations: 0.8331 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3627, allocations: 122 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3627, allocations: 0 / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.3628, allocations: 44.86 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3632, allocations: 49.67 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.3655, allocations: 2.054 MB / 1.363 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.8e-05/0.3656, allocations: 107.2 kB / 1.363 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3658, allocations: 41.75 kB / 1.363 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3659, allocations: 47.42 kB / 1.363 GB, free: 12.9 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/0.3659, allocations: 4 kB / 1.363 GB, free: 12.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3939, allocations: 5.715 MB / 1.369 GB, free: 7.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 0 / 1.369 GB, free: 7.402 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 17.998607155052014]