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.001706/0.001706, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00222/0.00222, allocations: 214.3 kB / 23.04 MB, free: 5.078 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.012 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 3.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.002001/0.002001, allocations: 62 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002583/0.3631, allocations: 1.294 MB / 1.328 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004013/0.3671, allocations: 3.017 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.3671, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.3672, allocations: 7.922 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3672, allocations: 7.938 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.3677, allocations: 107.5 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.3678, allocations: 35.86 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.3679, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.3685, allocations: 195.6 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.3685, allocations: 19.92 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.3685, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3687, allocations: 71.86 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.3687, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.3688, allocations: 19.94 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3689, allocations: 67.72 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3689, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3689, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3689, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 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.0004089/0.3694, allocations: 266.3 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3694, allocations: 8.031 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.3694, allocations: 192 / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.3695, allocations: 46.73 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3695, allocations: 0.9375 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.3696, allocations: 106.5 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3696, allocations: 4.375 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.3696, allocations: 8.125 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3698, allocations: 57.61 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3698, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3698, allocations: 4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3698, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.3698, allocations: 15.92 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.37, allocations: 156.6 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3701, allocations: 46.56 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.3702, allocations: 20.78 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/0.3707, allocations: 229.9 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3708, allocations: 54.48 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3708, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005518/0.3713, allocations: 225.8 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3714, allocations: 55.41 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.3715, allocations: 101.8 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3715, allocations: 25.7 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3715, allocations: 88.08 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3716, allocations: 31.75 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3716, allocations: 29.7 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3717, allocations: 314.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.3718, allocations: 16.05 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.3718, allocations: 53.09 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.3719, allocations: 81.25 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3719, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001468/0.3721, allocations: 89.55 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3721, allocations: 8.125 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3721, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3721, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.3722, allocations: 31.92 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3722, allocations: 7.875 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.3722, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3723, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 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 8.566e-05/0.3723, allocations: 114.4 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3724, allocations: 7.953 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.3724, allocations: 12.06 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3724, allocations: 0 / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3724, allocations: 7.938 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3724, allocations: 3.984 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.3726, allocations: 140.8 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3726, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.3727, allocations: 19.92 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3727, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3727, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3727, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3728, allocations: 3.938 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.373, allocations: 171.5 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.373, allocations: 7.953 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.373, allocations: 8.031 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3731, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.3731, allocations: 7.875 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3731, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.3732, allocations: 83.27 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3732, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002406/0.3734, allocations: 12 kB / 1.334 GB, free: 10.04 MB / 1.029 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.0005606/0.374, allocations: 0.7085 MB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3741, allocations: 44.67 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3741, allocations: 0 / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.3741, allocations: 15.94 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3745, allocations: 22.5 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3762, allocations: 1.52 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3765, allocations: 0.6807 MB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.3766, allocations: 11.98 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3766, allocations: 15.44 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3766, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.3996, allocations: 1.85 MB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 10.23 kB / 1.339 GB, free: 5.148 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.48163569701137]