Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001527/0.001527, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001804/0.001804, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.802/2.802, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_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.003374/0.003374, allocations: 59.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8896, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004993/0.8946, allocations: 4.51 MB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.8967, allocations: 2.708 MB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.8967, allocations: 0.9688 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.897, allocations: 52.92 kB / 1.329 GB, free: 19.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.8972, allocations: 92.61 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009871/0.8982, allocations: 0.5103 MB / 1.329 GB, free: 19.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.8985, allocations: 240.8 kB / 1.329 GB, free: 19.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.8985, allocations: 7.625 kB / 1.329 GB, free: 19.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.8994, allocations: 427.4 kB / 1.33 GB, free: 18.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.8995, allocations: 93.94 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.8996, allocations: 7.156 kB / 1.33 GB, free: 18.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.9005, allocations: 0.5003 MB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.9006, allocations: 40.61 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.9007, allocations: 81.2 kB / 1.331 GB, free: 18.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.9014, allocations: 358.4 kB / 1.331 GB, free: 18.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9014, allocations: 3.938 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9014, allocations: 3.938 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.9014, allocations: 0 / 1.331 GB, free: 18.5 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.0007534/0.9021, allocations: 0.5061 MB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.9022, allocations: 13.89 kB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.9022, allocations: 5.359 kB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.9022, allocations: 51.95 kB / 1.331 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.9024, allocations: 27.62 kB / 1.331 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.9026, allocations: 211.8 kB / 1.332 GB, free: 17.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.9026, allocations: 15.02 kB / 1.332 GB, free: 17.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.9027, allocations: 18.56 kB / 1.332 GB, free: 17.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.903, allocations: 251.5 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.9031, allocations: 4.438 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.9031, allocations: 7.281 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.9031, allocations: 7.422 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.9037, allocations: 424.5 kB / 1.332 GB, free: 17.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009722/0.9047, allocations: 1.012 MB / 1.333 GB, free: 16.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.905, allocations: 152.3 kB / 1.333 GB, free: 16.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9051, allocations: 56.84 kB / 1.334 GB, free: 16.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.9061, allocations: 1.818 MB / 1.335 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.9061, allocations: 37.86 kB / 1.335 GB, free: 14.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.9061, allocations: 0 / 1.335 GB, free: 14.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003418/0.9064, allocations: 150 kB / 1.336 GB, free: 14.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.9065, allocations: 57.16 kB / 1.336 GB, free: 14.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.9066, allocations: 169.2 kB / 1.336 GB, free: 14.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.9066, allocations: 27.05 kB / 1.336 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.9067, allocations: 142.5 kB / 1.336 GB, free: 14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.9067, allocations: 60.27 kB / 1.336 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.9068, allocations: 52.09 kB / 1.336 GB, free: 13.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.9069, allocations: 331 kB / 1.336 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.9069, allocations: 35.45 kB / 1.336 GB, free: 13.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.9071, allocations: 139.8 kB / 1.336 GB, free: 13.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.9073, allocations: 204 kB / 1.337 GB, free: 13.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9073, allocations: 1.062 kB / 1.337 GB, free: 13.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003288/0.9076, allocations: 209.3 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9076, allocations: 8.188 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9076, allocations: 9.078 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.9076, allocations: 9.219 kB / 1.337 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.9078, allocations: 50.23 kB / 1.337 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.9078, allocations: 10.23 kB / 1.337 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.9079, allocations: 28.47 kB / 1.337 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.908, allocations: 14.81 kB / 1.337 GB, free: 13.12 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 8.704e-05/0.9081, allocations: 132.5 kB / 1.337 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.9081, allocations: 19.53 kB / 1.337 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.9084, allocations: 165 kB / 1.337 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.9084, allocations: 2.156 kB / 1.337 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9084, allocations: 0.7031 kB / 1.337 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9084, allocations: 1.422 kB / 1.337 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.9087, allocations: 215.7 kB / 1.338 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9087, allocations: 1.406 kB / 1.338 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.9087, allocations: 29.3 kB / 1.338 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.9088, allocations: 5.375 kB / 1.338 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.9088, allocations: 5.828 kB / 1.338 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9088, allocations: 1.578 kB / 1.338 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9088, allocations: 4.719 kB / 1.338 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.909, allocations: 218.2 kB / 1.338 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.9091, allocations: 104.9 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.9091, allocations: 9.656 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.9093, allocations: 16.36 kB / 1.338 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.9094, allocations: 13 kB / 1.338 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.9094, allocations: 7.859 kB / 1.338 GB, free: 12.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.9095, allocations: 128.5 kB / 1.338 GB, free: 12.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9095, allocations: 0 / 1.338 GB, free: 12.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005128/0.91, allocations: 81.94 kB / 1.338 GB, free: 12.25 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.0007412/0.9107, allocations: 0.8415 MB / 1.339 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.9111, allocations: 108.8 kB / 1.339 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9111, allocations: 0.5938 kB / 1.339 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.9111, allocations: 42.44 kB / 1.339 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.9116, allocations: 50.58 kB / 1.339 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.9139, allocations: 2.05 MB / 1.341 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.9141, allocations: 0.7102 MB / 1.342 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.9142, allocations: 51.59 kB / 1.342 GB, free: 9.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.9143, allocations: 46.14 kB / 1.342 GB, free: 9.023 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9143, allocations: 0 / 1.342 GB, free: 9.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.9397, allocations: 5.3 MB / 1.347 GB, free: 8.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/9.186, allocations: 8.625 kB / 1.347 GB, free: 8.266 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.362776298017707]