Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.5 MB / 0.7287 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.89 kB / 1.056 GB, free: 2.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 160.7 MB / 1.213 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00301/0.3587, allocations: 1.25 MB / 1.214 GB, free: 128 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.3634, allocations: 2.974 MB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.3635, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.3635, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.3635, allocations: 7.922 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.3642, allocations: 103.5 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.3643, allocations: 35.84 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3644, allocations: 4 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.3649, allocations: 167.4 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.365, allocations: 7.984 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.365, allocations: 4 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.3652, allocations: 63.88 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.3652, allocations: 15.92 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.3653, allocations: 8 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3655, allocations: 72 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3655, allocations: 0 / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3655, allocations: 0 / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3655, allocations: 0 / 1.217 GB, free: 12.66 MB / 0.9669 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.0006752/0.3662, allocations: 347.4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.3662, allocations: 8.031 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.3663, allocations: 38.73 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3663, allocations: 0.9375 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3666, allocations: 172.3 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3666, allocations: 384 / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3667, allocations: 8.328 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3669, allocations: 57.61 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3669, allocations: 4 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3669, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3669, allocations: 7.938 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.3671, allocations: 15.98 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.3673, allocations: 173.5 kB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3674, allocations: 46.56 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.3675, allocations: 20.84 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.3686, allocations: 0.5907 MB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.3686, allocations: 42.5 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 3.998e-06/0.3686, allocations: 3.984 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000854/0.3695, allocations: 298.6 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3695, allocations: 51.41 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3696, allocations: 109.8 kB / 1.219 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3697, allocations: 29.7 kB / 1.219 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.3697, allocations: 84.09 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3698, allocations: 31.73 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.3698, allocations: 25.72 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.37, allocations: 318.8 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.37, allocations: 8 kB / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.3701, allocations: 61.08 kB / 1.22 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3702, allocations: 73.02 kB / 1.22 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3702, allocations: 8 kB / 1.22 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001571/0.3704, allocations: 93.5 kB / 1.22 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3704, allocations: 6.188 kB / 1.22 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3704, allocations: 4 kB / 1.22 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3704, allocations: 0 / 1.22 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.3705, allocations: 20 kB / 1.22 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3705, allocations: 7.938 kB / 1.22 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.3706, allocations: 3.938 kB / 1.22 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.3706, allocations: 4.125 kB / 1.22 GB, free: 9.508 MB / 0.9669 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 0.0001053/0.3707, allocations: 121.8 kB / 1.22 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3707, allocations: 4 kB / 1.22 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.3707, allocations: 7.969 kB / 1.22 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3707, allocations: 0 / 1.22 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3707, allocations: 0 / 1.22 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3708, allocations: 3.938 kB / 1.22 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.371, allocations: 173.7 kB / 1.22 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.371, allocations: 4 kB / 1.22 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.3711, allocations: 15.98 kB / 1.22 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3711, allocations: 4 kB / 1.22 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3711, allocations: 448 / 1.22 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3711, allocations: 0 / 1.22 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3711, allocations: 3.938 kB / 1.22 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3714, allocations: 183.4 kB / 1.221 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.3715, allocations: 81.11 kB / 1.221 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3715, allocations: 8 kB / 1.221 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.3716, allocations: 0 / 1.221 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.3716, allocations: 16.3 kB / 1.221 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3716, allocations: 0 / 1.221 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.3717, allocations: 83.27 kB / 1.221 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3717, allocations: 0 / 1.221 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002361/0.3719, allocations: 16 kB / 1.221 GB, free: 8.699 MB / 0.9669 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.0006352/0.3725, allocations: 0.7085 MB / 1.222 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3727, allocations: 43.94 kB / 1.222 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3727, allocations: 0 / 1.222 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.3727, allocations: 24.11 kB / 1.222 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.373, allocations: 11.94 kB / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3748, allocations: 1.52 MB / 1.223 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3751, allocations: 0.6885 MB / 1.224 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.3752, allocations: 7.984 kB / 1.224 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.3752, allocations: 19.38 kB / 1.224 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3752, allocations: 0 / 1.224 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.4031, allocations: 1.674 MB / 1.225 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.486, allocations: 21.52 kB / 1.225 GB, free: 3.934 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.71455639321357]