Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 11.56 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3764, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2134/0.5899, allocations: 187.9 MB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006726/0.5966, allocations: 4.023 MB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009027/0.5976, allocations: 15.94 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5989, allocations: 401.8 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.6028, allocations: 1.439 MB / 1.249 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6063, allocations: 1.237 MB / 1.25 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8119/1.418, allocations: 2.35 MB / 1.252 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.42, allocations: 0.8693 MB / 1.253 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/1.422, allocations: 0.8529 MB / 1.254 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.423, allocations: 0.8658 MB / 1.255 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/1.424, allocations: 71.97 kB / 1.255 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/1.427, allocations: 1.57 MB / 1.256 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/1.427, allocations: 327.2 kB / 1.256 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00098/1.428, allocations: 0.5098 MB / 1.257 GB, free: 20.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/1.43, allocations: 1.145 MB / 1.258 GB, free: 20.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.43, allocations: 0 / 1.258 GB, free: 20.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.256e-06/1.43, allocations: 0 / 1.258 GB, free: 20.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.43, allocations: 0 / 1.258 GB, free: 20.39 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002725/1.433, allocations: 1.182 MB / 1.259 GB, free: 19.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.433, allocations: 16.5 kB / 1.259 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/1.434, allocations: 240 kB / 1.259 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/1.435, allocations: 0.5845 MB / 1.26 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/1.435, allocations: 36.94 kB / 1.26 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.436, allocations: 48.17 kB / 1.26 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.437, allocations: 0.9735 MB / 1.261 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.437, allocations: 7.469 kB / 1.261 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/1.437, allocations: 21.34 kB / 1.261 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/1.437, allocations: 26.92 kB / 1.261 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.439, allocations: 0.9516 MB / 1.262 GB, free: 19.15 MB / 1.014 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.005626/1.445, allocations: 4.188 MB / 1.266 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.446, allocations: 0.605 MB / 1.267 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/1.447, allocations: 0.5166 MB / 1.267 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.448, allocations: 0.8944 MB / 1.268 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/1.448, allocations: 41.97 kB / 1.268 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001727/1.45, allocations: 357.1 kB / 1.268 GB, free: 15.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.737e-06/1.45, allocations: 0 / 1.268 GB, free: 15.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01937/1.469, allocations: 3.695 MB / 1.272 GB, free: 15.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.469, allocations: 57.86 kB / 1.272 GB, free: 15.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.47, allocations: 0.7109 MB / 1.273 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002194/1.471, allocations: 35.67 kB / 1.273 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/1.471, allocations: 322.1 kB / 1.273 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/1.471, allocations: 170.9 kB / 1.273 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.471, allocations: 51.84 kB / 1.273 GB, free: 14.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.472, allocations: 328.3 kB / 1.274 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.473, allocations: 402.8 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.474, allocations: 492.7 kB / 1.275 GB, free: 14.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/1.476, allocations: 0.9333 MB / 1.275 GB, free: 14.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.476, allocations: 0 / 1.275 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01228/1.488, allocations: 2.48 MB / 1.278 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/1.488, allocations: 6.469 kB / 1.278 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.488, allocations: 5.562 kB / 1.278 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009488/1.498, allocations: 1.55 MB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/1.498, allocations: 100.8 kB / 1.28 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.511, allocations: 6.565 MB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.512, allocations: 36.03 kB / 1.286 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.512, allocations: 46.98 kB / 1.286 GB, free: 11.58 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005241/1.513, allocations: 210.7 kB / 1.286 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/1.513, allocations: 83.09 kB / 1.286 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/1.518, allocations: 1.677 MB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.518, allocations: 5.906 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.519, allocations: 4.031 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/1.519, allocations: 3.141 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/1.525, allocations: 2.476 MB / 1.29 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.525, allocations: 2.094 kB / 1.29 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/1.525, allocations: 91.92 kB / 1.29 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/1.529, allocations: 0.6644 MB / 1.291 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.529, allocations: 17.31 kB / 1.291 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/1.535, allocations: 4.415 MB / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.535, allocations: 2.188 kB / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/1.541, allocations: 2.096 MB / 1.297 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/1.541, allocations: 237.4 kB / 1.298 GB, free: 7.871 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.542, allocations: 13.98 kB / 1.298 GB, free: 7.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/1.542, allocations: 33.22 kB / 1.298 GB, free: 7.867 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.542, allocations: 54.53 kB / 1.298 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/1.542, allocations: 19.38 kB / 1.298 GB, free: 7.863 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006302/1.543, allocations: 0.5026 MB / 1.298 GB, free: 7.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.543, allocations: 0 / 1.298 GB, free: 7.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001162/1.544, allocations: 281.4 kB / 1.299 GB, free: 7.758 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005475/1.545, allocations: 223.6 kB / 1.299 GB, free: 7.645 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.548, allocations: 1.43 MB / 1.3 GB, free: 7.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.548, allocations: 0 / 1.3 GB, free: 7.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.55, allocations: 0.8937 MB / 1.301 GB, free: 7.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.552, allocations: 445.4 kB / 1.301 GB, free: 7.059 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.555, allocations: 2.087 MB / 1.304 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/1.556, allocations: 0.98 MB / 1.304 GB, free: 5.281 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.556, allocations: 70 kB / 1.305 GB, free: 5.273 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.556, allocations: 0 / 1.305 GB, free: 5.273 MB / 1.014 GB Notification: Performance of Templates: time 0.02761/1.584, allocations: 19.19 MB / 1.323 GB, free: 15.87 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches