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.005265/0.005265, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001114/0.001114, allocations: 187.1 kB / 16.67 MB, free: 5.957 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3199, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9364/1.256, allocations: 149.1 MB / 1.353 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004786/1.261, allocations: 3.613 MB / 1.357 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/1.261, allocations: 3.156 kB / 1.357 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/1.262, allocations: 69.48 kB / 1.357 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/1.262, allocations: 127 kB / 1.357 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/1.266, allocations: 1.009 MB / 1.358 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006432/1.267, allocations: 322.9 kB / 1.358 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/1.267, allocations: 14.31 kB / 1.358 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/1.267, allocations: 193.8 kB / 1.359 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/1.268, allocations: 128.7 kB / 1.359 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/1.268, allocations: 11.47 kB / 1.359 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/1.27, allocations: 1.219 MB / 1.36 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/1.271, allocations: 70.92 kB / 1.36 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002356/1.271, allocations: 105.8 kB / 1.36 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/1.273, allocations: 0.6433 MB / 1.361 GB, free: 9.949 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.273, allocations: 5.125 kB / 1.361 GB, free: 9.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.273, allocations: 0 / 1.361 GB, free: 9.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.273, allocations: 0 / 1.361 GB, free: 9.945 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.001495/1.274, allocations: 0.5842 MB / 1.361 GB, free: 9.461 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.274, allocations: 10.36 kB / 1.361 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.276, allocations: 135.8 kB / 1.361 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/1.276, allocations: 218.1 kB / 1.362 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.276, allocations: 24.02 kB / 1.362 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/1.276, allocations: 16.12 kB / 1.362 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/1.277, allocations: 341.6 kB / 1.362 GB, free: 9.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.277, allocations: 0 / 1.362 GB, free: 9.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/1.277, allocations: 8.906 kB / 1.362 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/1.277, allocations: 16.23 kB / 1.362 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/1.277, allocations: 321.5 kB / 1.362 GB, free: 8.953 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.001784/1.279, allocations: 1.111 MB / 1.363 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/1.28, allocations: 192 kB / 1.364 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/1.28, allocations: 81.72 kB / 1.364 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/1.28, allocations: 468.2 kB / 1.364 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.28, allocations: 41.38 kB / 1.364 GB, free: 7.457 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/1.281, allocations: 0 / 1.364 GB, free: 7.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0007135/1.281, allocations: 251.6 kB / 1.364 GB, free: 7.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.281, allocations: 61.84 kB / 1.364 GB, free: 7.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/1.282, allocations: 208.9 kB / 1.365 GB, free: 7.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/1.282, allocations: 32.8 kB / 1.365 GB, free: 7.129 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/1.282, allocations: 138.9 kB / 1.365 GB, free: 7.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/1.282, allocations: 75.22 kB / 1.365 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.282, allocations: 54.28 kB / 1.365 GB, free: 6.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.282, allocations: 328.8 kB / 1.365 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.282, allocations: 70.2 kB / 1.365 GB, free: 6.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/1.282, allocations: 161.2 kB / 1.365 GB, free: 6.449 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/1.283, allocations: 248.6 kB / 1.366 GB, free: 6.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.283, allocations: 0 / 1.366 GB, free: 6.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006167/1.283, allocations: 285.6 kB / 1.366 GB, free: 6.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.283, allocations: 7.719 kB / 1.366 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.283, allocations: 6.031 kB / 1.366 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.283, allocations: 5.688 kB / 1.366 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/1.284, allocations: 67.67 kB / 1.366 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.284, allocations: 6.734 kB / 1.366 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/1.284, allocations: 31.72 kB / 1.366 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/1.284, allocations: 19.62 kB / 1.366 GB, free: 6.129 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.000142/1.284, allocations: 131.5 kB / 1.366 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.284, allocations: 27.28 kB / 1.366 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/1.285, allocations: 271.5 kB / 1.367 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.285, allocations: 6.281 kB / 1.367 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.285, allocations: 1.172 kB / 1.367 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.285, allocations: 8.422 kB / 1.367 GB, free: 5.875 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/1.286, allocations: 0.5805 MB / 1.367 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/1.286, allocations: 5.281 kB / 1.367 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.286, allocations: 32.55 kB / 1.367 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.286, allocations: 8.656 kB / 1.367 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.286, allocations: 5.625 kB / 1.367 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/1.286, allocations: 2.156 kB / 1.367 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.286, allocations: 1.781 kB / 1.367 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/1.287, allocations: 339.7 kB / 1.367 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/1.287, allocations: 129.7 kB / 1.368 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/1.287, allocations: 7.281 kB / 1.368 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.287, allocations: 13.28 kB / 1.368 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/1.287, allocations: 12.03 kB / 1.368 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/1.287, allocations: 16.06 kB / 1.368 GB, free: 5.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001443/1.287, allocations: 147.1 kB / 1.368 GB, free: 5.023 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.287, allocations: 0 / 1.368 GB, free: 5.023 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005873/1.288, allocations: 114.9 kB / 1.368 GB, free: 5.004 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.0005128/1.288, allocations: 216.7 kB / 1.368 GB, free: 4.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004182/1.289, allocations: 215.6 kB / 1.368 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.289, allocations: 5.125 kB / 1.368 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/1.289, allocations: 105.5 kB / 1.368 GB, free: 4.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/1.29, allocations: 100.1 kB / 1.369 GB, free: 4.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.291, allocations: 463 kB / 1.369 GB, free: 4.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.291, allocations: 0.7372 MB / 1.37 GB, free: 3.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002601/1.291, allocations: 55.2 kB / 1.37 GB, free: 3.785 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/1.291, allocations: 36.66 kB / 1.37 GB, free: 3.766 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.291, allocations: 0 / 1.37 GB, free: 3.766 MB / 1.061 GB Notification: Performance of Templates: time 0.01295/1.304, allocations: 5.574 MB / 1.375 GB, free: 1.406 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