Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001337/0.001337, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.001339/0.001339, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.132/3.132, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 69.23 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3794, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002924/0.3824, allocations: 1.265 MB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.3868, allocations: 2.954 MB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3868, allocations: 0 / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.3868, allocations: 3.938 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.3869, allocations: 7.922 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.3874, allocations: 103.6 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.3875, allocations: 39.86 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.3876, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.3881, allocations: 159.8 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.3881, allocations: 19.92 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3882, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.3883, allocations: 75.81 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.3884, allocations: 7.984 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3884, allocations: 19.92 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3886, allocations: 59.8 kB / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3886, allocations: 0 / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3886, allocations: 0 / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3886, allocations: 4 kB / 1.309 GB, free: 12.79 MB / 1.014 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.0004808/0.3891, allocations: 343.4 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3891, allocations: 12.62 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3892, allocations: 38.73 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3892, allocations: 8.891 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3893, allocations: 160.4 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3893, allocations: 8.312 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3894, allocations: 12.36 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3895, allocations: 61.55 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3895, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3895, allocations: 4 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3895, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.3896, allocations: 19.97 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.3898, allocations: 169.6 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3899, allocations: 46.56 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.39, allocations: 16.78 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.3908, allocations: 0.5946 MB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3908, allocations: 30.56 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.3908, allocations: 0 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006668/0.3915, allocations: 311 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3916, allocations: 55.41 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.3916, allocations: 105.8 kB / 1.31 GB, free: 10.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3917, allocations: 25.7 kB / 1.31 GB, free: 10.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.3917, allocations: 88.09 kB / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3917, allocations: 31.72 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3918, allocations: 25.67 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3919, allocations: 318.8 kB / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.392, allocations: 15.98 kB / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.392, allocations: 57.08 kB / 1.311 GB, free: 9.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.3921, allocations: 73.03 kB / 1.311 GB, free: 9.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3921, allocations: 0 / 1.311 GB, free: 9.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001508/0.3923, allocations: 93.55 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3923, allocations: 8 kB / 1.311 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3923, allocations: 3.984 kB / 1.311 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3923, allocations: 4 kB / 1.311 GB, free: 9.676 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.3924, allocations: 19.94 kB / 1.311 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3924, allocations: 0 / 1.311 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.3924, allocations: 8.219 kB / 1.311 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3925, allocations: 12.12 kB / 1.311 GB, free: 9.637 MB / 1.014 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 9.56e-05/0.3925, allocations: 121.8 kB / 1.311 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3926, allocations: 3.953 kB / 1.311 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3926, allocations: 11.95 kB / 1.311 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3926, allocations: 4 kB / 1.311 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3926, allocations: 0 / 1.311 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3926, allocations: 3.938 kB / 1.311 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3929, allocations: 173.6 kB / 1.311 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3929, allocations: 0 / 1.311 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.393, allocations: 19.94 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.393, allocations: 3.984 kB / 1.312 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.393, allocations: 4 kB / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.393, allocations: 0 / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.393, allocations: 0 / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3932, allocations: 171.5 kB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.3933, allocations: 89.09 kB / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3933, allocations: 0 / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3934, allocations: 8 kB / 1.312 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.3934, allocations: 7.922 kB / 1.312 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3934, allocations: 8 kB / 1.312 GB, free: 8.926 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.3935, allocations: 79.22 kB / 1.312 GB, free: 8.848 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3935, allocations: 4 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002344/0.3937, allocations: 8 kB / 1.312 GB, free: 8.836 MB / 1.014 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.0005547/0.3943, allocations: 0.7124 MB / 1.313 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3944, allocations: 39.97 kB / 1.313 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3944, allocations: 4 kB / 1.313 GB, free: 8.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.3944, allocations: 15.92 kB / 1.313 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3947, allocations: 19.3 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3964, allocations: 1.52 MB / 1.314 GB, free: 6.387 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3967, allocations: 0.6885 MB / 1.315 GB, free: 5.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.3967, allocations: 7.984 kB / 1.315 GB, free: 5.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.3968, allocations: 15.44 kB / 1.315 GB, free: 5.652 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3968, allocations: 3.938 kB / 1.315 GB, free: 5.648 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.4241, allocations: 1.676 MB / 1.316 GB, free: 4.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.422, allocations: 15.83 kB / 1.316 GB, free: 4.078 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.937403833959252]