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.001683/0.001683, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001742/0.001742, allocations: 211.3 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.09 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 2.823/2.823, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 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.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.001893/0.001893, allocations: 60.19 kB / 1.165 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9035, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005761/0.9092, allocations: 4.506 MB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.912, allocations: 2.71 MB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.9121, allocations: 5 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.9124, allocations: 51.55 kB / 1.347 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.9127, allocations: 94.55 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.914, allocations: 0.5067 MB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.9142, allocations: 231.5 kB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.9143, allocations: 7.859 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/0.9153, allocations: 431.4 kB / 1.348 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.9154, allocations: 90.98 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.9154, allocations: 8.062 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.9167, allocations: 0.5007 MB / 1.349 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.9168, allocations: 34.2 kB / 1.349 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.9169, allocations: 85.52 kB / 1.349 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.9175, allocations: 362.2 kB / 1.35 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9176, allocations: 5 kB / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9176, allocations: 0 / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9176, allocations: 0 / 1.35 GB, free: 10.04 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.0007263/0.9183, allocations: 0.5043 MB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9183, allocations: 9.156 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.603e-05/0.9184, allocations: 12.8 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.9184, allocations: 49.02 kB / 1.35 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.9186, allocations: 26.91 kB / 1.35 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.9188, allocations: 211.3 kB / 1.35 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.9188, allocations: 16.28 kB / 1.35 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.9188, allocations: 22.52 kB / 1.35 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.9192, allocations: 244.2 kB / 1.351 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9192, allocations: 7.938 kB / 1.351 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.9192, allocations: 7.562 kB / 1.351 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.9192, allocations: 5.844 kB / 1.351 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.9197, allocations: 426.2 kB / 1.351 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.9205, allocations: 1.011 MB / 1.352 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.9208, allocations: 151.9 kB / 1.352 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.9209, allocations: 60.8 kB / 1.352 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/0.9217, allocations: 1.822 MB / 1.354 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.9218, allocations: 33.28 kB / 1.354 GB, free: 5.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.9218, allocations: 3.938 kB / 1.354 GB, free: 5.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003183/0.9221, allocations: 156.7 kB / 1.354 GB, free: 5.887 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.9221, allocations: 53.33 kB / 1.354 GB, free: 5.824 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9222, allocations: 168.6 kB / 1.354 GB, free: 5.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.9223, allocations: 35.11 kB / 1.354 GB, free: 5.656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.9223, allocations: 142.5 kB / 1.355 GB, free: 5.527 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.9223, allocations: 58.36 kB / 1.355 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.9224, allocations: 53.05 kB / 1.355 GB, free: 5.445 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.9225, allocations: 327.5 kB / 1.355 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.9225, allocations: 34.8 kB / 1.355 GB, free: 5.117 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.9226, allocations: 139.3 kB / 1.355 GB, free: 4.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.9228, allocations: 201.2 kB / 1.355 GB, free: 4.789 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9228, allocations: 1.312 kB / 1.355 GB, free: 4.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000312/0.9232, allocations: 213.9 kB / 1.356 GB, free: 4.691 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9232, allocations: 10.31 kB / 1.356 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9232, allocations: 3.938 kB / 1.356 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.9232, allocations: 8.969 kB / 1.356 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.9234, allocations: 50.62 kB / 1.356 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.9234, allocations: 10.55 kB / 1.356 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.9235, allocations: 29.06 kB / 1.356 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.9235, allocations: 19.19 kB / 1.356 GB, free: 4.652 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 7.34e-05/0.9236, allocations: 131.5 kB / 1.356 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.9236, allocations: 16.56 kB / 1.356 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.9239, allocations: 158.5 kB / 1.356 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.9239, allocations: 2.188 kB / 1.356 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9239, allocations: 4.688 kB / 1.356 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.9239, allocations: 0.5625 kB / 1.356 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.9241, allocations: 211.9 kB / 1.356 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9241, allocations: 1.281 kB / 1.356 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.9242, allocations: 33.19 kB / 1.356 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.9242, allocations: 5.797 kB / 1.356 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9242, allocations: 6.188 kB / 1.356 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9242, allocations: 1.812 kB / 1.356 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9242, allocations: 0 / 1.356 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.9244, allocations: 222.4 kB / 1.356 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.9245, allocations: 106.2 kB / 1.357 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.9245, allocations: 6 kB / 1.357 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.9247, allocations: 20.38 kB / 1.357 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.9247, allocations: 8.953 kB / 1.357 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.9248, allocations: 11.55 kB / 1.357 GB, free: 3.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.9248, allocations: 120 kB / 1.357 GB, free: 3.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9248, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003871/0.9252, allocations: 83.72 kB / 1.357 GB, free: 3.797 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.0005595/0.9258, allocations: 0.836 MB / 1.358 GB, free: 3.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.926, allocations: 111.9 kB / 1.358 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.926, allocations: 1.344 kB / 1.358 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.9261, allocations: 47.61 kB / 1.358 GB, free: 3.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.9265, allocations: 48.36 kB / 1.358 GB, free: 3.012 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.9282, allocations: 2.06 MB / 1.36 GB, free: 1.309 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.9283, allocations: 0.7181 MB / 1.36 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.9285, allocations: 43.77 kB / 1.361 GB, free: 0.582 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.9285, allocations: 45.52 kB / 1.361 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9285, allocations: 5.438 kB / 1.361 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.9518, allocations: 5.293 MB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.157, allocations: 14.59 kB / 1.366 GB, free: 15.8 MB / 1.076 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/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.370080864988267]