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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 105.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002158/0.002158, allocations: 67.89 kB / 1.104 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9846/0.9867, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00285/0.9896, allocations: 1.274 MB / 1.27 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.9932, allocations: 2.943 MB / 1.273 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.9932, allocations: 0 / 1.273 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.9933, allocations: 5.25 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.9933, allocations: 9.297 kB / 1.273 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.9939, allocations: 103.9 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.994, allocations: 35.64 kB / 1.273 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.994, allocations: 3.344 kB / 1.273 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.9945, allocations: 162 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.9946, allocations: 9.5 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.9946, allocations: 5.719 kB / 1.273 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.9948, allocations: 69.11 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.9948, allocations: 12.41 kB / 1.273 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.9948, allocations: 16.88 kB / 1.273 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.995, allocations: 63.17 kB / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.995, allocations: 0 / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.995, allocations: 0.625 kB / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.9951, allocations: 0 / 1.273 GB, free: 4.547 MB / 0.9981 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.0003971/0.9954, allocations: 350.1 kB / 1.274 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9955, allocations: 14.78 kB / 1.274 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.9955, allocations: 33.86 kB / 1.274 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.9956, allocations: 3.656 kB / 1.274 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.148e-05/0.9956, allocations: 171.7 kB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.9957, allocations: 2 kB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.9957, allocations: 4.031 kB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.9958, allocations: 64.02 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.9958, allocations: 3.938 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9958, allocations: 1.75 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.9958, allocations: 0.875 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.9959, allocations: 28.42 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.996, allocations: 163.6 kB / 1.274 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.9961, allocations: 45.73 kB / 1.274 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.9961, allocations: 21.7 kB / 1.274 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.9967, allocations: 0.6026 MB / 1.275 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.9968, allocations: 37.2 kB / 1.275 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.9968, allocations: 0.7812 kB / 1.275 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005324/0.9973, allocations: 291 kB / 1.275 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.9973, allocations: 53.38 kB / 1.275 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.9974, allocations: 104.8 kB / 1.275 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.9974, allocations: 26.67 kB / 1.275 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.9974, allocations: 97.09 kB / 1.275 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.9974, allocations: 25.75 kB / 1.275 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.9974, allocations: 28.41 kB / 1.275 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.9975, allocations: 315.7 kB / 1.276 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.9975, allocations: 15.05 kB / 1.276 GB, free: 2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.9976, allocations: 60.42 kB / 1.276 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.9976, allocations: 72.39 kB / 1.276 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.9976, allocations: 0 / 1.276 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.9978, allocations: 96.52 kB / 1.276 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.9978, allocations: 5.094 kB / 1.276 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9978, allocations: 2.5 kB / 1.276 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9978, allocations: 2.094 kB / 1.276 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.9979, allocations: 22.36 kB / 1.276 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9979, allocations: 6.125 kB / 1.276 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.9979, allocations: 11.3 kB / 1.276 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.9979, allocations: 3.719 kB / 1.276 GB, free: 1.801 MB / 0.9981 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 5.279e-05/0.998, allocations: 116.9 kB / 1.276 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.998, allocations: 7.031 kB / 1.276 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.998, allocations: 9.312 kB / 1.276 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.998, allocations: 0.8438 kB / 1.276 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9981, allocations: 2.359 kB / 1.276 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.9981, allocations: 3.938 kB / 1.276 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.9983, allocations: 176.7 kB / 1.276 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9983, allocations: 1.031 kB / 1.276 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.9983, allocations: 16 kB / 1.276 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.9984, allocations: 0.5625 kB / 1.276 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9984, allocations: 0.75 kB / 1.276 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9984, allocations: 8.562 kB / 1.276 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9984, allocations: 2.328 kB / 1.276 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.9985, allocations: 176.2 kB / 1.276 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.9985, allocations: 84.38 kB / 1.277 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9986, allocations: 4.781 kB / 1.277 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.9987, allocations: 3.125 kB / 1.277 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.9987, allocations: 8.344 kB / 1.277 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.9987, allocations: 11.34 kB / 1.277 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.016e-05/0.9987, allocations: 78.09 kB / 1.277 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9987, allocations: 0 / 1.277 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002529/0.999, allocations: 14.88 kB / 1.277 GB, free: 1.117 MB / 0.9981 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.0003227/0.9993, allocations: 0.7137 MB / 1.277 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.9994, allocations: 37.81 kB / 1.277 GB, free: 432 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9994, allocations: 0.6094 kB / 1.277 GB, free: 432 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.9994, allocations: 19.3 kB / 1.277 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.9998, allocations: 12.95 kB / 1.277 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/1.001, allocations: 1.53 MB / 1.279 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.002, allocations: 0.6817 MB / 1.28 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.458e-05/1.002, allocations: 13.73 kB / 1.28 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/1.002, allocations: 15.72 kB / 1.28 GB, free: 14.25 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/1.002, allocations: 0 / 1.28 GB, free: 14.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/1.032, allocations: 1.684 MB / 1.281 GB, free: 13.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/9.245, allocations: 15.17 kB / 1.281 GB, free: 13.84 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.644526697229594]