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.001353/0.001353, allocations: 102.3 kB / 16.45 MB, free: 6.449 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.001417/0.001417, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.368/1.368, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.029/3.029, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.001989/0.001989, allocations: 72.48 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002642/0.3354, allocations: 1.285 MB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.3399, allocations: 2.982 MB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.3399, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3399, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.34, allocations: 7.938 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.3405, allocations: 99.53 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.3406, allocations: 39.86 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3407, allocations: 7.984 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.3412, allocations: 155.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.3413, allocations: 19.91 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3413, allocations: 8 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.3414, allocations: 67.88 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3415, allocations: 11.92 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.3415, allocations: 15.92 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3417, allocations: 67.73 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3417, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3417, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3417, allocations: 0 / 1.325 GB, free: 14.57 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.000511/0.3422, allocations: 355.4 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3422, allocations: 11.98 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.3423, allocations: 34.69 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3423, allocations: 4.938 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3425, allocations: 160.4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3425, allocations: 8.375 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3425, allocations: 4.375 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3427, allocations: 57.61 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3427, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3427, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3427, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.3428, allocations: 27.91 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.343, allocations: 165.6 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3431, allocations: 50.55 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.3432, allocations: 20.78 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008429/0.344, allocations: 0.591 MB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.344, allocations: 38.56 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.344, allocations: 0 / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006493/0.3447, allocations: 310.2 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3447, allocations: 51.41 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.3448, allocations: 101.8 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3448, allocations: 29.7 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3449, allocations: 88.09 kB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3449, allocations: 27.81 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.345, allocations: 29.7 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3451, allocations: 314.8 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.3451, allocations: 12 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.3452, allocations: 57.14 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.3453, allocations: 73.02 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3453, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001543/0.3455, allocations: 93.55 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3455, allocations: 8 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3455, allocations: 0 / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3455, allocations: 4 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.3456, allocations: 23.98 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3456, allocations: 7.938 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.3456, allocations: 3.938 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3456, allocations: 7.938 kB / 1.328 GB, free: 11.42 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 0.0001061/0.3457, allocations: 124.1 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3458, allocations: 3.953 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.3458, allocations: 11.97 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3458, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3458, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3458, allocations: 3.938 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3461, allocations: 177.6 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3461, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.3462, allocations: 15.98 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3462, allocations: 4 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3462, allocations: 0 / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3462, allocations: 4.438 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3462, allocations: 0 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3464, allocations: 175.6 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.3465, allocations: 81.2 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3465, allocations: 8.031 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3466, allocations: 11.98 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.3466, allocations: 3.938 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3466, allocations: 8 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.3467, allocations: 83.27 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002367/0.3469, allocations: 12 kB / 1.329 GB, free: 10.61 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.0005436/0.3475, allocations: 0.7165 MB / 1.329 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.3476, allocations: 39.92 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3476, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.3476, allocations: 12 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3479, allocations: 15.92 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3495, allocations: 1.524 MB / 1.331 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3498, allocations: 0.6807 MB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.3498, allocations: 11.98 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.3499, allocations: 23.36 kB / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3499, allocations: 0 / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.3747, allocations: 1.68 MB / 1.333 GB, free: 5.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.952, allocations: 7.969 kB / 1.333 GB, free: 5.852 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.149043703917414]