Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001454/0.001454, allocations: 114.7 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.001663/0.001663, allocations: 210.3 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.421/1.421, 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.831/2.831, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001982/0.001982, allocations: 63.89 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8819, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001846/0.8837, allocations: 1.284 MB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.8865, allocations: 2.974 MB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.8865, allocations: 0 / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.8865, allocations: 3.938 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.8866, allocations: 6.594 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.887, allocations: 112.5 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.8871, allocations: 46.03 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.8871, allocations: 0 / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.8875, allocations: 162.1 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.8875, allocations: 17.02 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.8876, allocations: 2.812 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.8877, allocations: 67.33 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.8877, allocations: 14.28 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.8877, allocations: 13.59 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.8879, allocations: 66.23 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8879, allocations: 4 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8879, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8879, allocations: 0 / 1.326 GB, free: 21.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003564/0.8882, allocations: 356.8 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.8883, allocations: 12.77 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.407e-05/0.8883, allocations: 192 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.369e-05/0.8883, allocations: 37.81 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.8883, allocations: 3.875 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.8884, allocations: 167.8 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.8884, allocations: 3.375 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.8885, allocations: 14.94 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8886, allocations: 47.64 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8886, allocations: 0 / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8886, allocations: 2.75 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8886, allocations: 0 / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.8887, allocations: 21.97 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.8888, allocations: 173.4 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.8889, allocations: 64.47 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.8889, allocations: 13.83 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.8895, allocations: 0.5908 MB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.8895, allocations: 30.56 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.8895, allocations: 4 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005162/0.89, allocations: 299.6 kB / 1.328 GB, free: 19.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.8901, allocations: 51.41 kB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.8901, allocations: 104.5 kB / 1.328 GB, free: 19.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.8901, allocations: 28.48 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.8902, allocations: 95.31 kB / 1.328 GB, free: 19.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.8902, allocations: 22.84 kB / 1.328 GB, free: 19.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.8902, allocations: 28.94 kB / 1.328 GB, free: 19.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.8903, allocations: 317.5 kB / 1.328 GB, free: 18.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.8903, allocations: 19.3 kB / 1.329 GB, free: 18.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.8903, allocations: 46.91 kB / 1.329 GB, free: 18.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.8904, allocations: 73.75 kB / 1.329 GB, free: 18.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.8904, allocations: 2.781 kB / 1.329 GB, free: 18.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001095/0.8905, allocations: 91.56 kB / 1.329 GB, free: 18.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8905, allocations: 5.562 kB / 1.329 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8905, allocations: 2.812 kB / 1.329 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.8905, allocations: 6.938 kB / 1.329 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.8906, allocations: 24.3 kB / 1.329 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8906, allocations: 7.875 kB / 1.329 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.8906, allocations: 6.719 kB / 1.329 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.8907, allocations: 6.812 kB / 1.329 GB, free: 18.72 MB / 1.061 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 4.963e-05/0.8907, allocations: 119.4 kB / 1.329 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.8907, allocations: 3.953 kB / 1.329 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.8908, allocations: 14 kB / 1.329 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8908, allocations: 0 / 1.329 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8908, allocations: 7.938 kB / 1.329 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8908, allocations: 0 / 1.329 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.891, allocations: 169.1 kB / 1.329 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.891, allocations: 4.375 kB / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.891, allocations: 16.77 kB / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.891, allocations: 288 / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.891, allocations: 6.844 kB / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.891, allocations: 0 / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.891, allocations: 3.938 kB / 1.329 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.8912, allocations: 184.1 kB / 1.329 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.8912, allocations: 80.56 kB / 1.329 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8912, allocations: 1.688 kB / 1.329 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.8913, allocations: 4.672 kB / 1.329 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.8913, allocations: 10.22 kB / 1.329 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.8914, allocations: 6.562 kB / 1.329 GB, free: 18.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.02e-05/0.8914, allocations: 80.38 kB / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8914, allocations: 0 / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002363/0.8916, allocations: 14.34 kB / 1.329 GB, free: 18.03 MB / 1.061 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.000332/0.8919, allocations: 0.7044 MB / 1.33 GB, free: 17.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.8921, allocations: 50.66 kB / 1.33 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8921, allocations: 1.25 kB / 1.33 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.8921, allocations: 13.56 kB / 1.33 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.8924, allocations: 15.52 kB / 1.33 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.8936, allocations: 1.521 MB / 1.332 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.8937, allocations: 0.6812 MB / 1.332 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.8937, allocations: 15.31 kB / 1.332 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.8938, allocations: 18.83 kB / 1.332 GB, free: 15.17 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.8938, allocations: 5.188 kB / 1.332 GB, free: 15.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.9142, allocations: 1.713 MB / 1.334 GB, free: 14.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/9.038, allocations: 8.922 kB / 1.334 GB, free: 14.75 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.18439909000881]