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.0007866/0.0007866, 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.0008183/0.0008183, 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.8683/0.8683, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 1.904e-06/1.904e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.116e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004374/0.004395, allocations: 4.268 MB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.006028, allocations: 2.441 MB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.006083, allocations: 4 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.006307, allocations: 47.62 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.006508, allocations: 107.2 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.007229, allocations: 0.5157 MB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.007421, allocations: 259.7 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.007459, allocations: 9.797 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.008117, allocations: 0.491 MB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.008209, allocations: 75.77 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.008229, allocations: 11.94 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.00879, allocations: 0.4948 MB / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.008855, allocations: 39.83 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.008905, allocations: 59.89 kB / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.009286, allocations: 366.9 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.009288, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.009289, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.009293, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 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.0005394/0.009832, allocations: 441.5 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.00987, allocations: 12.75 kB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.009909, allocations: 50.67 kB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.01, allocations: 28.83 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.0102, allocations: 157.5 kB / 1.009 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.01021, allocations: 8.703 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.01023, allocations: 20.36 kB / 1.009 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.01056, allocations: 463.1 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01057, allocations: 8.125 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.01059, allocations: 11.88 kB / 1.01 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.01061, allocations: 8 kB / 1.01 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.01092, allocations: 419.5 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.01165, allocations: 0.8674 MB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.01189, allocations: 155.4 kB / 1.011 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.01195, allocations: 48.89 kB / 1.011 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.01239, allocations: 451.9 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01241, allocations: 42.5 kB / 1.012 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01241, allocations: 0 / 1.012 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002335/0.01264, allocations: 144.1 kB / 1.012 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.01267, allocations: 59.34 kB / 1.012 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.01278, allocations: 175.1 kB / 1.012 GB, free: 492 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.0128, allocations: 29.7 kB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.01286, allocations: 152.1 kB / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.01289, allocations: 51.53 kB / 1.012 GB, free: 248 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.01293, allocations: 49.7 kB / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.01302, allocations: 322.8 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.01307, allocations: 35.97 kB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.01316, allocations: 137.7 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.01331, allocations: 201.4 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01332, allocations: 4 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002041/0.01352, allocations: 212.2 kB / 1.013 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01353, allocations: 8 kB / 1.013 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01354, allocations: 8.031 kB / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01355, allocations: 4 kB / 1.013 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01366, allocations: 55.92 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.01367, allocations: 15.92 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.01374, allocations: 31.72 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01375, allocations: 12 kB / 1.013 GB, free: 15.05 MB / 0.9792 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.288e-05/0.01382, allocations: 129.7 kB / 1.013 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.01385, allocations: 15.91 kB / 1.013 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.01403, allocations: 158.9 kB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01404, allocations: 8 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01404, allocations: 0 / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01405, allocations: 3.938 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01419, allocations: 176.7 kB / 1.014 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01419, allocations: 4 kB / 1.014 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.01424, allocations: 31.86 kB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01424, allocations: 4 kB / 1.014 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.01425, allocations: 7.984 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01425, allocations: 0 / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.01425, allocations: 0 / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.0144, allocations: 225.3 kB / 1.014 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.01444, allocations: 31.86 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.01445, allocations: 4 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01455, allocations: 15.97 kB / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.01457, allocations: 19.92 kB / 1.014 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01459, allocations: 11.94 kB / 1.014 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.01464, allocations: 120.9 kB / 1.014 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01464, allocations: 0 / 1.014 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002463/0.01489, allocations: 83.8 kB / 1.014 GB, free: 13.95 MB / 0.9792 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.0004429/0.01533, allocations: 0.8371 MB / 1.015 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01549, allocations: 117.7 kB / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01549, allocations: 0 / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.01553, allocations: 44.86 kB / 1.015 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.01579, allocations: 47.84 kB / 1.015 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.01717, allocations: 2.016 MB / 1.017 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.01723, allocations: 103.3 kB / 1.017 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.723e-05/0.01733, allocations: 45.73 kB / 1.017 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.01738, allocations: 48.48 kB / 1.018 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of SimCode: time 2.5e-07/0.01738, allocations: 0 / 1.018 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.03465, allocations: 6.15 MB / 1.024 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.428/6.463, allocations: 9.234 kB / 1.024 GB, free: 4.531 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.42246331088245]