Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00157/0.00157, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001944/0.001944, allocations: 215.9 kB / 23.02 MB, free: 4.949 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.085/3.085, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",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.001919/0.001919, allocations: 66.41 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00259/0.3231, allocations: 1.277 MB / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004162/0.3273, allocations: 2.771 MB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.3273, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3273, allocations: 3.938 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.3274, allocations: 11.98 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.3279, allocations: 95.56 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.328, allocations: 43.78 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.328, allocations: 3.984 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.3286, allocations: 183.7 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.3287, allocations: 23.91 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3287, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3288, allocations: 55.89 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.3289, allocations: 7.984 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.3289, allocations: 19.86 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3291, allocations: 59.81 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3291, allocations: 0 / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3291, allocations: 0 / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3291, allocations: 0 / 1.35 GB, free: 11.37 MB / 1.045 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.0004334/0.3295, allocations: 266.3 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3296, allocations: 12.03 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.3296, allocations: 192 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.3296, allocations: 38.75 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.3297, allocations: 0.9375 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3298, allocations: 110.5 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3298, allocations: 4.375 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3298, allocations: 12.08 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.33, allocations: 138.7 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.33, allocations: 3.984 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.33, allocations: 0 / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.33, allocations: 4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.3301, allocations: 15.98 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3303, allocations: 132.7 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3304, allocations: 50.56 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.3304, allocations: 20.8 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.331, allocations: 250.1 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.331, allocations: 34.56 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.331, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007682/0.3318, allocations: 225.5 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3319, allocations: 51.41 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.332, allocations: 109.8 kB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.332, allocations: 29.7 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.3321, allocations: 92.09 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3321, allocations: 27.75 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.3322, allocations: 25.7 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3324, allocations: 314.8 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.3324, allocations: 15.98 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.3325, allocations: 57.14 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3326, allocations: 73.09 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3326, allocations: 0 / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001751/0.3328, allocations: 97.5 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3328, allocations: 8 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3328, allocations: 0 / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3328, allocations: 4 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.3329, allocations: 23.92 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3329, allocations: 3.938 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.333, allocations: 4 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.333, allocations: 8.125 kB / 1.352 GB, free: 8.855 MB / 1.045 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 9.821e-05/0.3331, allocations: 113.8 kB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3331, allocations: 0 / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.3332, allocations: 16.05 kB / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3332, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3332, allocations: 3.938 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3332, allocations: 0 / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.3335, allocations: 144.8 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3335, allocations: 0 / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.3336, allocations: 19.92 kB / 1.352 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3336, allocations: 11.94 kB / 1.352 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.3336, allocations: 3.938 kB / 1.352 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3336, allocations: 0 / 1.352 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3336, allocations: 3.938 kB / 1.352 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3338, allocations: 171.5 kB / 1.352 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.3339, allocations: 4 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3339, allocations: 4 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.334, allocations: 4.031 kB / 1.352 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.334, allocations: 7.938 kB / 1.352 GB, free: 8.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.334, allocations: 0 / 1.352 GB, free: 8.285 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.3341, allocations: 87.64 kB / 1.352 GB, free: 8.199 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3341, allocations: 4 kB / 1.352 GB, free: 8.195 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002447/0.3343, allocations: 12 kB / 1.352 GB, free: 8.184 MB / 1.045 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.0006263/0.335, allocations: 0.713 MB / 1.353 GB, free: 7.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3351, allocations: 43.91 kB / 1.353 GB, free: 7.402 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3351, allocations: 0 / 1.353 GB, free: 7.402 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.3352, allocations: 15.94 kB / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.3356, allocations: 17.33 kB / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.3377, allocations: 1.532 MB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.383e-05/0.3378, allocations: 71.28 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.299e-05/0.3378, allocations: 7.844 kB / 1.355 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.3379, allocations: 19.41 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of SimCode: time 1.031e-06/0.3379, allocations: 0 / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3618, allocations: 1.886 MB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.3, allocations: 13.77 kB / 1.357 GB, free: 3.871 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.84294454101473]