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.0016/0.0016, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002203/0.002203, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.965 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.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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="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.002098/0.002098, allocations: 64.53 kB / 1.154 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3936, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002692/0.3963, allocations: 1.285 MB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004656/0.401, allocations: 3.013 MB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.401, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.401, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.4011, allocations: 11.92 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.4017, allocations: 107.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.4018, allocations: 39.84 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.4019, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.4025, allocations: 191.6 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.4026, allocations: 23.91 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4026, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.4028, allocations: 71.81 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.4028, allocations: 7.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.4029, allocations: 19.92 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.4031, allocations: 59.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4031, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4031, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.4031, allocations: 0 / 1.331 GB, free: 13.13 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.0004317/0.4035, allocations: 274.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4035, allocations: 8.031 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.4036, allocations: 42.73 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.4036, allocations: 0.9375 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.4037, allocations: 110.5 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4037, allocations: 4.375 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.4038, allocations: 8.375 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.4039, allocations: 53.61 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4039, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4039, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4039, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.404, allocations: 15.97 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.4042, allocations: 140.6 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.4043, allocations: 54.5 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.4043, allocations: 20.78 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.4049, allocations: 242.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.405, allocations: 38.56 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.405, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006214/0.4056, allocations: 229.1 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4056, allocations: 55.34 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.4057, allocations: 101.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4058, allocations: 33.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.4058, allocations: 84.09 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4058, allocations: 31.81 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4059, allocations: 29.7 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.406, allocations: 314.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.4061, allocations: 15.98 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.4061, allocations: 53.14 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.4062, allocations: 69.09 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4063, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001529/0.4064, allocations: 97.72 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4064, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4064, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4064, allocations: 4.469 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4066, allocations: 24.05 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4066, allocations: 8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.4066, allocations: 11.94 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4066, allocations: 7.938 kB / 1.333 GB, free: 10.7 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.0001025/0.4067, allocations: 118.3 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.4067, allocations: 7.953 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.4068, allocations: 12.05 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4068, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4068, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4068, allocations: 7.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.4071, allocations: 144.7 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4071, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.4071, allocations: 12 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4071, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.4072, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4072, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4072, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.4074, allocations: 179.4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.4074, allocations: 15.98 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.4074, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4075, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.4076, allocations: 11.92 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.4076, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.4076, allocations: 79.28 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4076, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002513/0.4079, allocations: 16 kB / 1.333 GB, free: 10.04 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.0005476/0.4084, allocations: 0.7085 MB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.4085, allocations: 36.2 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4085, allocations: 0 / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.4086, allocations: 19.97 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.4089, allocations: 16.19 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.4107, allocations: 1.536 MB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4111, allocations: 0.6807 MB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.187e-05/0.4111, allocations: 7.984 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.4112, allocations: 19.44 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4112, allocations: 0 / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4436, allocations: 1.815 MB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.56, allocations: 15.2 kB / 1.338 GB, free: 5.156 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: 18.438680303050205]