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.0009012/0.0009012, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001103/0.001103, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9255/0.9255, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.309e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002439/0.002462, allocations: 1.266 MB / 0.9517 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.00577, allocations: 2.768 MB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.005805, allocations: 4 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.005826, allocations: 3.938 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.005882, allocations: 3.984 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.006497, allocations: 103.4 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.006581, allocations: 39.91 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.006627, allocations: 3.938 kB / 0.9546 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.007151, allocations: 195.3 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.007198, allocations: 11.97 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.007213, allocations: 4 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.007348, allocations: 51.89 kB / 0.9548 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.007365, allocations: 7.984 kB / 0.9548 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.007399, allocations: 19.92 kB / 0.9548 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.007586, allocations: 63.8 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007589, allocations: 0 / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00759, allocations: 3.938 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.007596, allocations: 0 / 0.9549 GB, free: 14.93 MB / 0.9167 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.0003689/0.007965, allocations: 274.3 kB / 0.9552 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.008006, allocations: 8.031 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.008041, allocations: 30.75 kB / 0.9552 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.008081, allocations: 8.938 kB / 0.9552 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.008168, allocations: 105.8 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.008185, allocations: 4.375 kB / 0.9553 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.008212, allocations: 12.27 kB / 0.9553 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008366, allocations: 135.3 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.008377, allocations: 4.172 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.008389, allocations: 3.938 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.008396, allocations: 8 kB / 0.9555 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.008441, allocations: 15.92 kB / 0.9555 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.008691, allocations: 140.7 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.355e-05/0.008785, allocations: 46.56 kB / 0.9557 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.00881, allocations: 20.86 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.009325, allocations: 237.8 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.009354, allocations: 38.56 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.009355, allocations: 0 / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0005122/0.009867, allocations: 233.4 kB / 0.9562 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.009908, allocations: 55.41 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.009986, allocations: 101.8 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01, allocations: 25.7 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.01004, allocations: 88.09 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.01006, allocations: 27.75 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.01009, allocations: 29.7 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.01018, allocations: 318.8 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.0102, allocations: 15.98 kB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.01024, allocations: 53.14 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.01031, allocations: 69.03 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01031, allocations: 11.94 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001133/0.01042, allocations: 93.5 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01044, allocations: 4 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01044, allocations: 4 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01046, allocations: 0 / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.01052, allocations: 19.98 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01053, allocations: 4 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.01055, allocations: 4 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.01056, allocations: 4 kB / 0.9571 GB, free: 12.42 MB / 0.9167 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.609e-05/0.01063, allocations: 125.8 kB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.01064, allocations: 4.281 kB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.01069, allocations: 12.11 kB / 0.9572 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01069, allocations: 7.922 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.0107, allocations: 4 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.0107, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.01088, allocations: 145.1 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01089, allocations: 0 / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.01094, allocations: 15.98 kB / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01095, allocations: 4 kB / 0.9574 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.01095, allocations: 4 kB / 0.9574 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01095, allocations: 4 kB / 0.9574 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01095, allocations: 0 / 0.9574 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.01114, allocations: 179.3 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.01117, allocations: 4 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.01118, allocations: 0 / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.01124, allocations: 4.047 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.01126, allocations: 7.984 kB / 0.9575 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01127, allocations: 4 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.01131, allocations: 79.28 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01131, allocations: 0 / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001603/0.01147, allocations: 16 kB / 0.9576 GB, free: 11.75 MB / 0.9167 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.0003872/0.01185, allocations: 0.7163 MB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01196, allocations: 39.92 kB / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01196, allocations: 0 / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.01197, allocations: 8 kB / 0.9584 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01223, allocations: 11.94 kB / 0.9584 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.01335, allocations: 1.466 MB / 0.9598 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.0134, allocations: 67.34 kB / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.01344, allocations: 15.98 kB / 0.9599 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.01348, allocations: 12.5 kB / 0.9599 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.01348, allocations: 4 kB / 0.9599 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.03688, allocations: 2.344 MB / 0.9622 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.715, allocations: 12.03 kB / 0.9622 GB, free: 7.047 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.853601463139057]