Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001486/0.001486, allocations: 110 kB / 18.93 MB, free: 2.945 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.001689/0.001689, allocations: 190.5 kB / 22.23 MB, free: 5.16 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.306/1.306, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.016/3.016, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 62.95 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3301, allocations: 174.8 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007295/0.3374, allocations: 3.795 MB / 1.32 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.3376, allocations: 151.5 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.3376, allocations: 3.938 kB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3377, allocations: 7.938 kB / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.3378, allocations: 15.91 kB / 1.32 GB, free: 5.742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.3381, allocations: 75.75 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.3382, allocations: 39.86 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3383, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.3383, allocations: 23.91 kB / 1.32 GB, free: 5.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.3384, allocations: 11.98 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3384, allocations: 0 / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006133/0.339, allocations: 219.3 kB / 1.32 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.3391, allocations: 7.984 kB / 1.32 GB, free: 5.371 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.3391, allocations: 11.94 kB / 1.32 GB, free: 5.359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3393, allocations: 43.89 kB / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3393, allocations: 0 / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3393, allocations: 4 kB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3393, allocations: 3.938 kB / 1.32 GB, free: 5.309 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000477/0.3397, allocations: 258.3 kB / 1.321 GB, free: 5.027 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3398, allocations: 8.031 kB / 1.321 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3398, allocations: 4.875 kB / 1.321 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.34, allocations: 114.4 kB / 1.321 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.3401, allocations: 30.25 kB / 1.321 GB, free: 4.844 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3401, allocations: 384 / 1.321 GB, free: 4.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3402, allocations: 53.62 kB / 1.321 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3402, allocations: 0 / 1.321 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3402, allocations: 0 / 1.321 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3402, allocations: 0 / 1.321 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.3403, allocations: 15.98 kB / 1.321 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.3408, allocations: 227.9 kB / 1.321 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.3409, allocations: 22.56 kB / 1.321 GB, free: 4.473 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.3409, allocations: 8.859 kB / 1.321 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.341, allocations: 8.062 kB / 1.321 GB, free: 4.453 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.341, allocations: 30.56 kB / 1.321 GB, free: 4.414 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.341, allocations: 0 / 1.321 GB, free: 4.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001976/0.3412, allocations: 41.62 kB / 1.321 GB, free: 4.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3412, allocations: 51.41 kB / 1.321 GB, free: 4.305 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.3413, allocations: 102 kB / 1.321 GB, free: 4.195 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3413, allocations: 29.7 kB / 1.321 GB, free: 4.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.3414, allocations: 96.08 kB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.3414, allocations: 3.953 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3414, allocations: 13.72 kB / 1.321 GB, free: 4.039 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3416, allocations: 314.8 kB / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.3416, allocations: 11.94 kB / 1.322 GB, free: 3.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.3416, allocations: 17.7 kB / 1.322 GB, free: 3.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.3417, allocations: 25.66 kB / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3417, allocations: 0 / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.3418, allocations: 53.69 kB / 1.322 GB, free: 3.598 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3418, allocations: 5.406 kB / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3418, allocations: 0 / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3418, allocations: 0 / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.3419, allocations: 15.88 kB / 1.322 GB, free: 3.578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3419, allocations: 4.062 kB / 1.322 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.3419, allocations: 0 / 1.322 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3419, allocations: 7.984 kB / 1.322 GB, free: 3.566 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.615e-05/0.342, allocations: 109.8 kB / 1.322 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.342, allocations: 0 / 1.322 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.3422, allocations: 124.2 kB / 1.322 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.17e-05/0.3423, allocations: 184.2 kB / 1.322 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.678e-05/0.3423, allocations: 184.3 kB / 1.322 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.492e-05/0.3424, allocations: 180.2 kB / 1.323 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3427, allocations: 380.2 kB / 1.323 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.221e-05/0.3428, allocations: 105 kB / 1.323 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.3428, allocations: 104.9 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-05/0.3429, allocations: 184.3 kB / 1.323 GB, free: 1.934 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/0.343, allocations: 184.2 kB / 1.323 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.75e-05/0.3431, allocations: 180.3 kB / 1.324 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.494e-05/0.3432, allocations: 176.3 kB / 1.324 GB, free: 1.383 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3434, allocations: 307.7 kB / 1.324 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.3435, allocations: 116.9 kB / 1.324 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.3436, allocations: 180.2 kB / 1.324 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3438, allocations: 105 kB / 1.324 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.3439, allocations: 184.2 kB / 1.325 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.344, allocations: 101 kB / 1.325 GB, free: 360 kB / 1.014 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.3441, allocations: 91.28 kB / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 0 / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.000408/0.3445, allocations: 12 kB / 1.325 GB, free: 256 kB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002875/0.3448, allocations: 202.9 kB / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.3449, allocations: 19.92 kB / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3449, allocations: 0 / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3449, allocations: 4.125 kB / 1.325 GB, free: 20 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.3454, allocations: 459.8 kB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.3457, allocations: 186.1 kB / 1.326 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.346, allocations: 0.6767 MB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.346, allocations: 15.92 kB / 1.326 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.346, allocations: 11.44 kB / 1.326 GB, free: 14.63 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.346, allocations: 0 / 1.326 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Templates: time 0.002867/0.3489, allocations: 0.6562 MB / 1.327 GB, free: 13.99 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.17340837046504]