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.001252/0.001252, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001453/0.001453, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.37/1.37, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 2.96/2.96, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.001918/0.001918, allocations: 64.89 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 176.1 MB / 1.321 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002495/0.3244, allocations: 1.281 MB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.3287, allocations: 2.986 MB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3287, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.3287, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.3288, allocations: 15.91 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.3292, allocations: 95.55 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.3293, allocations: 43.84 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.3294, allocations: 7.938 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.3298, allocations: 155.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3298, allocations: 11.92 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3298, allocations: 8 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.33, allocations: 71.86 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.33, allocations: 8 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.33, allocations: 15.91 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3302, allocations: 59.81 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3302, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3302, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3302, allocations: 4 kB / 1.325 GB, free: 14.71 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.000442/0.3307, allocations: 359.3 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3307, allocations: 11.98 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.3307, allocations: 34.75 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.3308, allocations: 0.9375 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3309, allocations: 160.4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3309, allocations: 16.3 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3309, allocations: 4.375 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3311, allocations: 61.59 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3311, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3311, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3311, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.3311, allocations: 23.92 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3313, allocations: 165.6 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.3314, allocations: 50.55 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.3314, allocations: 12.86 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/0.3322, allocations: 0.5948 MB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3322, allocations: 38.56 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3322, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006014/0.3328, allocations: 306.6 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3329, allocations: 51.41 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.333, allocations: 101.8 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.333, allocations: 29.7 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.333, allocations: 92.08 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3331, allocations: 27.75 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3331, allocations: 25.7 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3333, allocations: 314.8 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.3333, allocations: 15.98 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.3334, allocations: 61.2 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.3335, allocations: 69.22 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.3335, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001533/0.3336, allocations: 101.5 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3336, allocations: 4 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3336, allocations: 0 / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3336, allocations: 4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.3337, allocations: 23.98 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3337, allocations: 4 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.3338, allocations: 3.938 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.3338, allocations: 4.078 kB / 1.328 GB, free: 11.56 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 8.684e-05/0.3339, allocations: 125.8 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3339, allocations: 7.953 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.3339, allocations: 7.969 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3339, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3339, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3339, allocations: 7.922 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3342, allocations: 177.6 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3342, allocations: 0 / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.3343, allocations: 19.94 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3343, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3343, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3343, allocations: 7.984 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3343, allocations: 0 / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3345, allocations: 179.4 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.3346, allocations: 81.14 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3346, allocations: 0 / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3347, allocations: 8 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.3347, allocations: 7.938 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.3347, allocations: 7.984 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.3347, allocations: 79.28 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3347, allocations: 0 / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002337/0.335, allocations: 12 kB / 1.329 GB, free: 10.75 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.0004936/0.3355, allocations: 0.7124 MB / 1.329 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3356, allocations: 39.97 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3356, allocations: 0 / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.3356, allocations: 19.92 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3359, allocations: 11.94 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3374, allocations: 1.532 MB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3377, allocations: 0.6815 MB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.3378, allocations: 11.98 kB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3378, allocations: 15.44 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3378, allocations: 0 / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3627, allocations: 1.68 MB / 1.333 GB, free: 5.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.195, allocations: 4.688 kB / 1.333 GB, free: 5.988 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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(hLiqSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.380598386982456]