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.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.001839/0.001839, 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.002068/0.002068, allocations: 216.8 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 3.271/3.271, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.002113/0.002113, allocations: 75.92 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00308/0.3701, allocations: 1.286 MB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.3748, allocations: 3.024 MB / 1.35 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.3748, allocations: 0 / 1.35 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.3748, allocations: 3.938 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.3749, allocations: 7.922 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.3755, allocations: 111.5 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.3756, allocations: 31.86 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.3756, allocations: 4 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.3763, allocations: 195.7 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.3763, allocations: 15.92 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3763, allocations: 4 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3765, allocations: 67.8 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.3765, allocations: 8 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.3766, allocations: 19.92 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3768, allocations: 63.8 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3768, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3768, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3768, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 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.0004633/0.3773, allocations: 270.3 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3773, allocations: 12.03 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.402e-05/0.3773, allocations: 192 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.3773, allocations: 34.75 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3774, allocations: 8.938 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.3775, allocations: 106.5 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3775, allocations: 4.375 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.3775, allocations: 16.08 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3777, allocations: 49.67 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3777, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3777, allocations: 4 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3777, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.3777, allocations: 19.97 kB / 1.351 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.3779, allocations: 144.7 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.378, allocations: 50.5 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.3781, allocations: 20.78 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.3787, allocations: 237.9 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3787, allocations: 46.5 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3787, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006598/0.3794, allocations: 229.4 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3794, allocations: 51.41 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3795, allocations: 105.8 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3795, allocations: 25.7 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3796, allocations: 92.03 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3796, allocations: 27.75 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3797, allocations: 29.7 kB / 1.352 GB, free: 9.828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3798, allocations: 314.8 kB / 1.352 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.3799, allocations: 15.98 kB / 1.352 GB, free: 9.496 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.861e-05/0.38, allocations: 53.58 kB / 1.352 GB, free: 9.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3801, allocations: 73.27 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3801, allocations: 0 / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001643/0.3802, allocations: 93.5 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3803, allocations: 8 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3803, allocations: 8.125 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3803, allocations: 4 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.3804, allocations: 27.92 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3804, allocations: 3.938 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.3804, allocations: 4 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3804, allocations: 4 kB / 1.352 GB, free: 9.18 MB / 1.045 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.85e-05/0.3805, allocations: 114.5 kB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3806, allocations: 0 / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3806, allocations: 19.98 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3806, allocations: 7.938 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3806, allocations: 3.938 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3806, allocations: 0 / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3809, allocations: 144.7 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3809, allocations: 0 / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.381, allocations: 16 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.381, allocations: 0 / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.381, allocations: 0 / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.381, allocations: 0 / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.381, allocations: 3.938 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3812, allocations: 183.5 kB / 1.353 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.3813, allocations: 4.031 kB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3813, allocations: 11.94 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3814, allocations: 0 / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3814, allocations: 15.86 kB / 1.353 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3814, allocations: 0 / 1.353 GB, free: 8.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.3815, allocations: 79.28 kB / 1.353 GB, free: 8.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3815, allocations: 0 / 1.353 GB, free: 8.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002549/0.3817, allocations: 16 kB / 1.353 GB, free: 8.504 MB / 1.045 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.000557/0.3823, allocations: 0.7007 MB / 1.353 GB, free: 7.777 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3824, allocations: 44.31 kB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3824, allocations: 4.25 kB / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.3825, allocations: 19.98 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3828, allocations: 11.94 kB / 1.353 GB, free: 7.699 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3846, allocations: 1.521 MB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3849, allocations: 0.6884 MB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.385, allocations: 15.77 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.385, allocations: 11.44 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/0.385, allocations: 4 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.414, allocations: 1.847 MB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 12.84 kB / 1.357 GB, free: 3.617 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 18.81939905602485]