Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.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.001359/0.001359, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001497/0.001497, allocations: 222.2 kB / 23 MB, free: 4.914 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.158/3.158, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") [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.0021/0.0021, allocations: 82.22 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1667/0.4705, allocations: 131.1 MB / 1.454 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004513/0.475, allocations: 3.291 MB / 1.458 GB, free: 10.97 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.4751, allocations: 7.938 kB / 1.458 GB, free: 10.96 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.4754, allocations: 59.66 kB / 1.458 GB, free: 10.9 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.4757, allocations: 131.2 kB / 1.458 GB, free: 10.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.4783, allocations: 1.049 MB / 1.459 GB, free: 9.723 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.4787, allocations: 327.6 kB / 1.459 GB, free: 9.398 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.4788, allocations: 9.75 kB / 1.459 GB, free: 9.391 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.4792, allocations: 203.2 kB / 1.459 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.4794, allocations: 131.5 kB / 1.459 GB, free: 9.062 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.4795, allocations: 8 kB / 1.459 GB, free: 9.055 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.4813, allocations: 1.056 MB / 1.46 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4814, allocations: 71.78 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.4815, allocations: 95.66 kB / 1.461 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4826, allocations: 0.6231 MB / 1.461 GB, free: 7.207 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4826, allocations: 0 / 1.461 GB, free: 7.207 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4826, allocations: 0 / 1.461 GB, free: 7.207 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.4826, allocations: 4 kB / 1.461 GB, free: 7.203 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001131/0.4838, allocations: 0.5243 MB / 1.462 GB, free: 6.648 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4838, allocations: 8.031 kB / 1.462 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.485, allocations: 136.7 kB / 1.462 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4853, allocations: 162.2 kB / 1.462 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4853, allocations: 24.3 kB / 1.462 GB, free: 6.301 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.4854, allocations: 16 kB / 1.462 GB, free: 6.285 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.4861, allocations: 0.5892 MB / 1.463 GB, free: 5.613 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4861, allocations: 0 / 1.463 GB, free: 5.613 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.4861, allocations: 8 kB / 1.463 GB, free: 5.605 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.4862, allocations: 23.92 kB / 1.463 GB, free: 5.582 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.4867, allocations: 320.1 kB / 1.463 GB, free: 5.27 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.4883, allocations: 0.9112 MB / 1.464 GB, free: 4.309 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.4888, allocations: 178.4 kB / 1.464 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4889, allocations: 76.81 kB / 1.464 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.4893, allocations: 79.92 kB / 1.464 GB, free: 3.969 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4893, allocations: 50.44 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.4893, allocations: 0 / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006701/0.49, allocations: 249.4 kB / 1.464 GB, free: 3.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.4901, allocations: 55.41 kB / 1.464 GB, free: 3.594 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4902, allocations: 168.5 kB / 1.465 GB, free: 3.422 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.4903, allocations: 33.7 kB / 1.465 GB, free: 3.383 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.4903, allocations: 144.3 kB / 1.465 GB, free: 3.238 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.4904, allocations: 75.33 kB / 1.465 GB, free: 3.164 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.4905, allocations: 53.66 kB / 1.465 GB, free: 3.105 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4906, allocations: 326.8 kB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.4908, allocations: 72.23 kB / 1.465 GB, free: 2.703 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.491, allocations: 164.1 kB / 1.465 GB, free: 2.504 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.4914, allocations: 248.8 kB / 1.466 GB, free: 2.223 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.4914, allocations: 3.938 kB / 1.466 GB, free: 2.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005444/0.492, allocations: 278.9 kB / 1.466 GB, free: 1.941 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.492, allocations: 4 kB / 1.466 GB, free: 1.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.492, allocations: 4.375 kB / 1.466 GB, free: 1.934 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.492, allocations: 11.94 kB / 1.466 GB, free: 1.922 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.4923, allocations: 55.92 kB / 1.466 GB, free: 1.867 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4923, allocations: 7.984 kB / 1.466 GB, free: 1.859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.4925, allocations: 27.78 kB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4925, allocations: 12 kB / 1.466 GB, free: 1.82 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001427/0.4927, allocations: 138 kB / 1.466 GB, free: 1.676 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4928, allocations: 23.84 kB / 1.466 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.4933, allocations: 280 kB / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4933, allocations: 4 kB / 1.467 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4933, allocations: 4 kB / 1.467 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4933, allocations: 0 / 1.467 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.4941, allocations: 0.5208 MB / 1.467 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4941, allocations: 3.938 kB / 1.467 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4942, allocations: 27.94 kB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4942, allocations: 3.938 kB / 1.467 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4943, allocations: 11.98 kB / 1.467 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4943, allocations: 0 / 1.467 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4943, allocations: 0 / 1.467 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.4948, allocations: 354.4 kB / 1.467 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4949, allocations: 43.73 kB / 1.467 GB, free: 356 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.495, allocations: 8 kB / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.4952, allocations: 18.05 kB / 1.467 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4952, allocations: 7.984 kB / 1.468 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4953, allocations: 15.98 kB / 1.468 GB, free: 308 kB / 1.154 GB Notification: Performance of sorting global known variables: time 9.739e-05/0.4954, allocations: 117.1 kB / 1.468 GB, free: 192 kB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.4954, allocations: 0 / 1.468 GB, free: 192 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004904/0.4958, allocations: 123.8 kB / 1.468 GB, free: 68 kB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004446/0.4963, allocations: 234.7 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.4967, allocations: 209.4 kB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4967, allocations: 0.75 kB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4968, allocations: 95.89 kB / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.4973, allocations: 63.83 kB / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.4982, allocations: 480.6 kB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4983, allocations: 128.4 kB / 1.469 GB, free: 14.81 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4984, allocations: 23.44 kB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of SimCode: time 3.6e-07/0.4984, allocations: 0 / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of Templates: time 0.006805/0.5052, allocations: 4.073 MB / 1.473 GB, free: 10.73 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirProperties.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: 11.880770832300186]