Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001479/0.001479, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002028/0.002028, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.7 MB / 0.7715 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_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.001983/0.001983, allocations: 62.98 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3686, allocations: 170 MB / 1.284 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002743/0.3713, allocations: 1.282 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004479/0.3758, allocations: 3.018 MB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.3758, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3759, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.3759, allocations: 3.938 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.3765, allocations: 111.5 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.3766, allocations: 31.92 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.3766, allocations: 7.984 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.3773, allocations: 194.9 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.3773, allocations: 19.91 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3773, allocations: 4 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.3775, allocations: 67.81 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3775, allocations: 8 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3776, allocations: 19.91 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3778, allocations: 63.81 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3778, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3778, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3778, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 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.0004271/0.3782, allocations: 274.3 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3783, allocations: 12.03 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.3783, allocations: 192 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.3783, allocations: 34.75 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3783, allocations: 8.938 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.3784, allocations: 114.4 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.3784, allocations: 4.375 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.3785, allocations: 16.12 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3786, allocations: 53.61 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3786, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3786, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3786, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.3787, allocations: 23.97 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.3789, allocations: 136.7 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.379, allocations: 46.5 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.379, allocations: 28.78 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/0.3796, allocations: 238.2 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3796, allocations: 30.56 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3796, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005744/0.3802, allocations: 229.1 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3802, allocations: 59.34 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.3803, allocations: 101.8 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3803, allocations: 29.7 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3804, allocations: 88.09 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3804, allocations: 23.75 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.3805, allocations: 29.7 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3806, allocations: 314.8 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/0.3806, allocations: 19.98 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.3807, allocations: 53.08 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3808, allocations: 77.09 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3808, allocations: 0 / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001564/0.381, allocations: 97.77 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.381, allocations: 4 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.381, allocations: 3.984 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.381, allocations: 4 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.3811, allocations: 23.92 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3811, allocations: 8.062 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.3812, allocations: 8 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.3812, allocations: 4.438 kB / 1.291 GB, free: 4.277 MB / 0.9825 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.361e-05/0.3813, allocations: 117.8 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3813, allocations: 3.953 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.3813, allocations: 16.05 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3813, allocations: 0 / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3813, allocations: 3.938 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3813, allocations: 4 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3816, allocations: 148.8 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3816, allocations: 0 / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.3817, allocations: 16 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3817, allocations: 0 / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3817, allocations: 4 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3817, allocations: 3.938 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3817, allocations: 3.938 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.3819, allocations: 171.5 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.3819, allocations: 7.984 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.382, allocations: 8 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3821, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.3821, allocations: 15.92 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.3821, allocations: 0 / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.3821, allocations: 79.28 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3821, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002675/0.3824, allocations: 12 kB / 1.292 GB, free: 3.602 MB / 0.9825 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.0005184/0.3829, allocations: 0.7125 MB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3831, allocations: 43.97 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3831, allocations: 0 / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.3831, allocations: 15.98 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3834, allocations: 10.08 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3851, allocations: 1.538 MB / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3854, allocations: 0.6807 MB / 1.294 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.079e-05/0.3855, allocations: 7.984 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3855, allocations: 15.44 kB / 1.294 GB, free: 432 kB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3855, allocations: 4 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4094, allocations: 1.851 MB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 8 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.913427438004874]