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.001331/0.001331, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001648/0.001648, allocations: 218.5 kB / 23.03 MB, free: 4.949 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.201/3.201, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002018/0.002018, allocations: 61.69 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00262/0.3633, allocations: 1.272 MB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.3676, allocations: 2.783 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.3676, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.3677, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.3677, allocations: 7.922 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3683, allocations: 99.55 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.3683, allocations: 31.92 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.3684, allocations: 8 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.3689, allocations: 191.5 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.369, allocations: 15.92 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.369, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.3692, allocations: 55.88 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3692, allocations: 8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3692, allocations: 15.94 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3694, allocations: 59.84 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3694, allocations: 4 kB / 1.331 GB, free: 12.96 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.0004257/0.3698, allocations: 270.2 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3699, allocations: 12.03 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.727e-05/0.3699, allocations: 4.125 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.3699, allocations: 34.75 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.37, allocations: 4.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3701, allocations: 110.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3701, allocations: 4.375 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3701, allocations: 12.12 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3703, allocations: 130.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3703, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3703, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3703, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.3704, allocations: 19.92 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.3706, allocations: 144.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3707, allocations: 46.56 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.3707, allocations: 20.78 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.3713, allocations: 230 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3713, allocations: 42.56 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3713, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005964/0.3719, allocations: 233.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3719, allocations: 51.41 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.372, allocations: 101.9 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3721, allocations: 29.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.3721, allocations: 84.09 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3721, allocations: 31.73 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3722, allocations: 25.72 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3723, allocations: 318.8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.3724, allocations: 19.94 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.3724, allocations: 53.14 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3725, allocations: 81.05 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3725, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.3727, allocations: 89.55 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3727, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3727, allocations: 8.125 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3727, allocations: 448 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.3728, allocations: 20 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3728, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.3729, allocations: 15.98 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3729, allocations: 4 kB / 1.333 GB, free: 10.45 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 9.833e-05/0.373, allocations: 114.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.373, allocations: 7.953 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.373, allocations: 8.062 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.373, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.373, allocations: 7.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.373, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3733, allocations: 140.7 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3733, allocations: 3.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.3734, allocations: 16 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3734, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3734, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3734, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3734, allocations: 3.938 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3736, allocations: 175.5 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.3736, allocations: 7.984 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3736, allocations: 8 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3738, allocations: 4 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.3738, allocations: 11.92 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3738, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.3738, allocations: 83.22 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002476/0.3741, allocations: 12 kB / 1.334 GB, free: 9.781 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.0005407/0.3746, allocations: 0.7088 MB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.3748, allocations: 44.14 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3748, allocations: 0 / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.3748, allocations: 24.16 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3751, allocations: 9.969 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3768, allocations: 1.536 MB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.149e-05/0.3769, allocations: 71.28 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.377, allocations: 8.047 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.377, allocations: 15.44 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.377, allocations: 0 / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.4016, allocations: 1.879 MB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.15, allocations: 14.95 kB / 1.338 GB, free: 5.473 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: 19.0920471920399]