Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008424/0.008424, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 193.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9662/1.3, allocations: 149.1 MB / 1.371 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004431/1.305, allocations: 3.613 MB / 1.375 GB, free: 7.652 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/1.305, allocations: 5.469 kB / 1.375 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004242/1.306, allocations: 66.98 kB / 1.375 GB, free: 7.617 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003489/1.306, allocations: 128.3 kB / 1.375 GB, free: 7.543 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/1.309, allocations: 1.006 MB / 1.376 GB, free: 7.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005367/1.309, allocations: 323.9 kB / 1.376 GB, free: 6.914 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/1.31, allocations: 14.14 kB / 1.376 GB, free: 6.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/1.31, allocations: 200.7 kB / 1.376 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/1.31, allocations: 130.2 kB / 1.377 GB, free: 6.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/1.31, allocations: 10.03 kB / 1.377 GB, free: 6.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/1.313, allocations: 1.222 MB / 1.378 GB, free: 6.273 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/1.313, allocations: 71.58 kB / 1.378 GB, free: 6.246 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/1.313, allocations: 111.5 kB / 1.378 GB, free: 6.191 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/1.314, allocations: 0.6372 MB / 1.379 GB, free: 5.988 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.314, allocations: 0 / 1.379 GB, free: 5.988 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/1.314, allocations: 0 / 1.379 GB, free: 5.988 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.314, allocations: 0 / 1.379 GB, free: 5.988 MB / 1.076 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.001242/1.315, allocations: 0.593 MB / 1.379 GB, free: 5.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.315, allocations: 9.5 kB / 1.379 GB, free: 5.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.317, allocations: 131.8 kB / 1.379 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/1.317, allocations: 227.4 kB / 1.38 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.317, allocations: 23.5 kB / 1.38 GB, free: 5.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.317, allocations: 20.2 kB / 1.38 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/1.318, allocations: 337.8 kB / 1.38 GB, free: 5.012 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.318, allocations: 0 / 1.38 GB, free: 5.012 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/1.318, allocations: 7.375 kB / 1.38 GB, free: 5.008 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/1.318, allocations: 16 kB / 1.38 GB, free: 5.004 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/1.318, allocations: 326 kB / 1.38 GB, free: 4.859 MB / 1.076 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.001663/1.32, allocations: 1.104 MB / 1.381 GB, free: 3.867 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/1.32, allocations: 192.8 kB / 1.382 GB, free: 3.777 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/1.321, allocations: 77.69 kB / 1.382 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/1.321, allocations: 465.2 kB / 1.382 GB, free: 3.238 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.321, allocations: 41.44 kB / 1.382 GB, free: 3.191 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/1.321, allocations: 0 / 1.382 GB, free: 3.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0007309/1.322, allocations: 262.6 kB / 1.382 GB, free: 3.066 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.322, allocations: 56.53 kB / 1.382 GB, free: 3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/1.322, allocations: 208.2 kB / 1.383 GB, free: 2.844 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.322, allocations: 31.02 kB / 1.383 GB, free: 2.809 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.322, allocations: 145 kB / 1.383 GB, free: 2.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.322, allocations: 76.89 kB / 1.383 GB, free: 2.605 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/1.323, allocations: 54.06 kB / 1.383 GB, free: 2.566 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.323, allocations: 331.1 kB / 1.383 GB, free: 2.238 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/1.323, allocations: 70.42 kB / 1.383 GB, free: 2.211 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/1.323, allocations: 160.6 kB / 1.383 GB, free: 2.066 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/1.323, allocations: 246 kB / 1.384 GB, free: 1.883 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.323, allocations: 5.344 kB / 1.384 GB, free: 1.879 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005669/1.324, allocations: 291.7 kB / 1.384 GB, free: 1.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.324, allocations: 8.281 kB / 1.384 GB, free: 1.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.324, allocations: 2.812 kB / 1.384 GB, free: 1.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.324, allocations: 5.688 kB / 1.384 GB, free: 1.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/1.324, allocations: 59.5 kB / 1.384 GB, free: 1.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.324, allocations: 6.438 kB / 1.384 GB, free: 1.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.325, allocations: 28.56 kB / 1.384 GB, free: 1.695 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/1.325, allocations: 13.81 kB / 1.384 GB, free: 1.691 MB / 1.076 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.000138/1.325, allocations: 138.7 kB / 1.384 GB, free: 1.559 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.325, allocations: 40.66 kB / 1.384 GB, free: 1.531 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/1.325, allocations: 267.8 kB / 1.384 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.325, allocations: 10.55 kB / 1.384 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/1.325, allocations: 0 / 1.384 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.325, allocations: 0 / 1.384 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/1.326, allocations: 0.5849 MB / 1.385 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.326, allocations: 9.188 kB / 1.385 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/1.326, allocations: 34.33 kB / 1.385 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.326, allocations: 5.328 kB / 1.385 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.326, allocations: 6.688 kB / 1.385 GB, free: 0.875 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.327, allocations: 1.344 kB / 1.385 GB, free: 0.875 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.327, allocations: 3.984 kB / 1.385 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/1.327, allocations: 356.5 kB / 1.385 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.327, allocations: 125.5 kB / 1.386 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/1.327, allocations: 6.031 kB / 1.386 GB, free: 0.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.327, allocations: 14.64 kB / 1.386 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/1.328, allocations: 10.8 kB / 1.386 GB, free: 500 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/1.328, allocations: 12.84 kB / 1.386 GB, free: 496 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001374/1.328, allocations: 152.7 kB / 1.386 GB, free: 384 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.363e-06/1.328, allocations: 5.312 kB / 1.386 GB, free: 380 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005641/1.328, allocations: 123.6 kB / 1.386 GB, free: 348 kB / 1.076 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.0004461/1.329, allocations: 213.9 kB / 1.386 GB, free: 200 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004244/1.329, allocations: 210.8 kB / 1.386 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.329, allocations: 1.031 kB / 1.386 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/1.329, allocations: 98.61 kB / 1.386 GB, free: 80 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/1.33, allocations: 106 kB / 1.386 GB, free: 24 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/1.331, allocations: 456.9 kB / 1.387 GB, free: 15.72 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.331, allocations: 0.7341 MB / 1.388 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002457/1.331, allocations: 63.92 kB / 1.388 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/1.331, allocations: 30.14 kB / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/1.331, allocations: 1.25 kB / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of Templates: time 0.01085/1.342, allocations: 5.513 MB / 1.393 GB, free: 12.21 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches