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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.009109/0.009109, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.002083/0.002083, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.03 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 157.4 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9469/1.278, allocations: 149.1 MB / 1.353 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006793/1.285, allocations: 3.616 MB / 1.357 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/1.286, allocations: 1.188 kB / 1.357 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/1.286, allocations: 67.62 kB / 1.357 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005159/1.287, allocations: 133.4 kB / 1.357 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/1.291, allocations: 1.015 MB / 1.358 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007878/1.292, allocations: 320.3 kB / 1.358 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/1.292, allocations: 11.94 kB / 1.358 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/1.292, allocations: 190.9 kB / 1.359 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/1.293, allocations: 135.5 kB / 1.359 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/1.293, allocations: 9.781 kB / 1.359 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/1.296, allocations: 1.218 MB / 1.36 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/1.296, allocations: 78.16 kB / 1.36 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/1.296, allocations: 107.7 kB / 1.36 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/1.297, allocations: 0.6361 MB / 1.361 GB, free: 9.879 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.297, allocations: 0 / 1.361 GB, free: 9.879 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.284e-06/1.297, allocations: 0 / 1.361 GB, free: 9.879 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.297, allocations: 1.125 kB / 1.361 GB, free: 9.879 MB / 1.061 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.001135/1.299, allocations: 0.5803 MB / 1.361 GB, free: 9.398 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.299, allocations: 13.89 kB / 1.361 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.3, allocations: 137.6 kB / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/1.3, allocations: 220.2 kB / 1.362 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.3, allocations: 16.81 kB / 1.362 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/1.3, allocations: 19.97 kB / 1.362 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/1.301, allocations: 335.9 kB / 1.362 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.301, allocations: 1.312 kB / 1.362 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/1.301, allocations: 10.81 kB / 1.362 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/1.301, allocations: 18.55 kB / 1.362 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/1.301, allocations: 329.3 kB / 1.362 GB, free: 8.879 MB / 1.061 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.001741/1.303, allocations: 1.103 MB / 1.363 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/1.304, allocations: 198 kB / 1.364 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.304, allocations: 85.64 kB / 1.364 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/1.304, allocations: 456 kB / 1.364 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.304, allocations: 41 kB / 1.364 GB, free: 7.391 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/1.304, allocations: 0 / 1.364 GB, free: 7.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0006537/1.305, allocations: 261.9 kB / 1.364 GB, free: 7.301 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/1.305, allocations: 60.47 kB / 1.364 GB, free: 7.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/1.305, allocations: 209 kB / 1.365 GB, free: 7.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.305, allocations: 27.89 kB / 1.365 GB, free: 7.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/1.306, allocations: 147.4 kB / 1.365 GB, free: 6.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/1.306, allocations: 71.02 kB / 1.365 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/1.306, allocations: 55.55 kB / 1.365 GB, free: 6.836 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.306, allocations: 333.1 kB / 1.365 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/1.306, allocations: 68.83 kB / 1.365 GB, free: 6.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/1.306, allocations: 154.3 kB / 1.365 GB, free: 6.379 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/1.307, allocations: 251.7 kB / 1.366 GB, free: 6.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.307, allocations: 1.062 kB / 1.366 GB, free: 6.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005109/1.307, allocations: 286.5 kB / 1.366 GB, free: 6.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.307, allocations: 6.219 kB / 1.366 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.307, allocations: 3.344 kB / 1.366 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.307, allocations: 4.188 kB / 1.366 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/1.307, allocations: 65.5 kB / 1.366 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.307, allocations: 6.047 kB / 1.366 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/1.308, allocations: 32.03 kB / 1.366 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.308, allocations: 12.88 kB / 1.366 GB, free: 6.066 MB / 1.061 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.0001435/1.308, allocations: 142.9 kB / 1.366 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.308, allocations: 23.17 kB / 1.366 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/1.308, allocations: 270.7 kB / 1.367 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.308, allocations: 10.47 kB / 1.367 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.308, allocations: 0 / 1.367 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.308, allocations: 3.359 kB / 1.367 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/1.309, allocations: 0.5823 MB / 1.367 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.309, allocations: 5.094 kB / 1.367 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.309, allocations: 31.42 kB / 1.367 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/1.309, allocations: 1.312 kB / 1.367 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.309, allocations: 6.656 kB / 1.367 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.309, allocations: 3.625 kB / 1.367 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.309, allocations: 5.094 kB / 1.367 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/1.31, allocations: 345.5 kB / 1.367 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/1.31, allocations: 125 kB / 1.368 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/1.31, allocations: 5.547 kB / 1.368 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/1.31, allocations: 12.66 kB / 1.368 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/1.31, allocations: 15.66 kB / 1.368 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/1.31, allocations: 13.31 kB / 1.368 GB, free: 5.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001206/1.311, allocations: 156 kB / 1.368 GB, free: 4.953 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.311, allocations: 0 / 1.368 GB, free: 4.953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005536/1.311, allocations: 111.7 kB / 1.368 GB, free: 4.938 MB / 1.061 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.000482/1.312, allocations: 223.8 kB / 1.368 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003833/1.312, allocations: 214.8 kB / 1.368 GB, free: 4.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.312, allocations: 1.094 kB / 1.368 GB, free: 4.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/1.312, allocations: 105.4 kB / 1.368 GB, free: 4.723 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/1.313, allocations: 100.8 kB / 1.369 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/1.314, allocations: 461.6 kB / 1.369 GB, free: 4.434 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/1.314, allocations: 0.741 MB / 1.37 GB, free: 3.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002316/1.314, allocations: 59 kB / 1.37 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/1.314, allocations: 25.31 kB / 1.37 GB, free: 3.699 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/1.314, allocations: 0 / 1.37 GB, free: 3.699 MB / 1.061 GB Notification: Performance of Templates: time 0.01/1.324, allocations: 5.524 MB / 1.375 GB, free: 1.363 MB / 1.061 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