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.0007834/0.0007834, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008066/0.0008066, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8398/0.8398, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.665/1.665, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.301e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001885/0.001908, allocations: 1.266 MB / 0.9822 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002801/0.004709, allocations: 2.767 MB / 0.9849 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.004757, allocations: 0 / 0.9849 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.004776, allocations: 3.938 kB / 0.9849 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.004816, allocations: 7.922 kB / 0.9849 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.005349, allocations: 99.48 kB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.005427, allocations: 39.84 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.005459, allocations: 4 kB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.005934, allocations: 199.3 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.005969, allocations: 15.98 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.00598, allocations: 0 / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.006089, allocations: 51.89 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.006105, allocations: 11.92 kB / 0.9853 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.006127, allocations: 11.98 kB / 0.9853 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.006267, allocations: 67.78 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006271, allocations: 0 / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.976e-06/0.006274, allocations: 0 / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.006279, allocations: 3.938 kB / 0.9854 GB, free: 14.07 MB / 0.948 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.0003062/0.006585, allocations: 270.3 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.006626, allocations: 12.03 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.006659, allocations: 42.73 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.006689, allocations: 4.938 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.006761, allocations: 105.8 kB / 0.9858 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.006771, allocations: 4.375 kB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.006788, allocations: 4.375 kB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.0069, allocations: 127.3 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.006905, allocations: 4.188 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.006915, allocations: 3.938 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.006918, allocations: 4 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.006956, allocations: 19.92 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.007085, allocations: 140.7 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.007151, allocations: 42.56 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.007173, allocations: 16.84 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/0.007629, allocations: 246.1 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.007653, allocations: 30.56 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.007654, allocations: 0 / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004895/0.008143, allocations: 229.1 kB / 0.9866 GB, free: 12.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.008173, allocations: 63.33 kB / 0.9867 GB, free: 12.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.008235, allocations: 101.8 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008249, allocations: 29.7 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.008288, allocations: 88.09 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.008308, allocations: 31.73 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.008339, allocations: 21.72 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.008438, allocations: 322.8 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.00846, allocations: 15.94 kB / 0.9873 GB, free: 11.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.0085, allocations: 53.08 kB / 0.9873 GB, free: 11.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.008573, allocations: 81.02 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008574, allocations: 0 / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001029/0.008677, allocations: 97.5 kB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.00869, allocations: 8 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008695, allocations: 0 / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.008706, allocations: 4 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.008759, allocations: 16 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.008767, allocations: 8.109 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.008788, allocations: 4.438 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.008794, allocations: 8 kB / 0.9875 GB, free: 11.56 MB / 0.948 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 6.601e-05/0.00886, allocations: 121.7 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.008877, allocations: 0 / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.008904, allocations: 12.12 kB / 0.9876 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008905, allocations: 0 / 0.9876 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.008911, allocations: 4 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008913, allocations: 0 / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.00907, allocations: 148.7 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009072, allocations: 4 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.009118, allocations: 16 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00912, allocations: 0 / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.009125, allocations: 0 / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009126, allocations: 0 / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009127, allocations: 0 / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.009269, allocations: 179.4 kB / 0.988 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.009293, allocations: 12.03 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.009304, allocations: 0 / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.009359, allocations: 0 / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.009372, allocations: 7.984 kB / 0.988 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009378, allocations: 8 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.009403, allocations: 79.66 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009403, allocations: 3.938 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001572/0.009561, allocations: 15.94 kB / 0.9881 GB, free: 10.89 MB / 0.948 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.0005817/0.01014, allocations: 0.7164 MB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.01023, allocations: 35.97 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01023, allocations: 0 / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.01025, allocations: 24.23 kB / 0.9889 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01048, allocations: 10.58 kB / 0.9889 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01151, allocations: 1.46 MB / 0.9903 GB, free: 8.504 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.01157, allocations: 75.34 kB / 0.9904 GB, free: 8.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.01161, allocations: 7.984 kB / 0.9904 GB, free: 8.402 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.01165, allocations: 16.5 kB / 0.9904 GB, free: 8.387 MB / 0.948 GB Notification: Performance of SimCode: time 9.31e-07/0.01165, allocations: 0 / 0.9904 GB, free: 8.387 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.02927, allocations: 2.348 MB / 0.9927 GB, free: 6.184 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.524, allocations: 3.641 kB / 0.9927 GB, free: 6.184 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.420396883040667]