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 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.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.00146/0.001459, allocations: 108 kB / 15.6 MB, free: 132 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.00187/0.001871, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.86 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4094, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.139/1.549, allocations: 192.6 MB / 1.256 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006546/1.555, allocations: 4.018 MB / 1.26 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/1.556, allocations: 23 kB / 1.26 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/1.558, allocations: 475.2 kB / 1.261 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/1.562, allocations: 1.525 MB / 1.262 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/1.566, allocations: 1.352 MB / 1.264 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002918/1.569, allocations: 1.633 MB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/1.571, allocations: 0.9515 MB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/1.573, allocations: 0.9173 MB / 1.267 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.575, allocations: 0.8506 MB / 1.268 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004007/1.576, allocations: 94.5 kB / 1.268 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/1.579, allocations: 1.307 MB / 1.269 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005149/1.58, allocations: 359.9 kB / 1.269 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009056/1.58, allocations: 0.5131 MB / 1.27 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/1.584, allocations: 1.615 MB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.584, allocations: 0.9375 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/1.584, allocations: 0 / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.334e-05/1.584, allocations: 0.9062 kB / 1.272 GB, free: 5.426 MB / 0.9981 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.003439/1.587, allocations: 1.445 MB / 1.273 GB, free: 20.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.587, allocations: 9.422 kB / 1.273 GB, free: 20.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/1.589, allocations: 240.8 kB / 1.273 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/1.59, allocations: 0.5862 MB / 1.274 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.59, allocations: 35.44 kB / 1.274 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.59, allocations: 53.89 kB / 1.274 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/1.592, allocations: 0.9634 MB / 1.275 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.592, allocations: 5.438 kB / 1.275 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/1.592, allocations: 26.66 kB / 1.275 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/1.592, allocations: 32.69 kB / 1.275 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/1.593, allocations: 0.9425 MB / 1.276 GB, free: 20.18 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.005905/1.599, allocations: 4.26 MB / 1.28 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.601, allocations: 0.5962 MB / 1.281 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/1.602, allocations: 0.5163 MB / 1.281 GB, free: 17.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.603, allocations: 0.8799 MB / 1.282 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.603, allocations: 38.84 kB / 1.282 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001622/1.604, allocations: 420.7 kB / 1.282 GB, free: 16.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/1.604, allocations: 0 / 1.282 GB, free: 16.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.0175/1.622, allocations: 3.843 MB / 1.286 GB, free: 16.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.622, allocations: 56.19 kB / 1.286 GB, free: 16.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.623, allocations: 0.7088 MB / 1.287 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/1.623, allocations: 35.39 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.624, allocations: 324.7 kB / 1.287 GB, free: 16.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/1.624, allocations: 172.6 kB / 1.287 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.624, allocations: 157.4 kB / 1.287 GB, free: 16.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.624, allocations: 324.5 kB / 1.288 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/1.625, allocations: 395.5 kB / 1.288 GB, free: 15.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/1.626, allocations: 488.4 kB / 1.289 GB, free: 15.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.627, allocations: 0.9162 MB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.627, allocations: 1.375 kB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01088/1.638, allocations: 2.567 MB / 1.292 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.638, allocations: 12.66 kB / 1.292 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.638, allocations: 2.375 kB / 1.292 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009179/1.647, allocations: 1.729 MB / 1.294 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/1.648, allocations: 93 kB / 1.294 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.661, allocations: 7.15 MB / 1.301 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.662, allocations: 19.69 kB / 1.301 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/1.662, allocations: 47.52 kB / 1.301 GB, free: 12.49 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.0006049/1.663, allocations: 218.6 kB / 1.301 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/1.663, allocations: 82.47 kB / 1.301 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/1.669, allocations: 1.735 MB / 1.303 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.669, allocations: 5.969 kB / 1.303 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.669, allocations: 7.281 kB / 1.303 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.669, allocations: 2.906 kB / 1.303 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/1.675, allocations: 2.54 MB / 1.305 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.675, allocations: 5.219 kB / 1.305 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/1.675, allocations: 90.94 kB / 1.305 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/1.679, allocations: 0.8006 MB / 1.306 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/1.679, allocations: 21.28 kB / 1.306 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00693/1.686, allocations: 4.849 MB / 1.311 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.686, allocations: 5.781 kB / 1.311 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/1.691, allocations: 2.15 MB / 1.313 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/1.692, allocations: 234.8 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/1.692, allocations: 12.56 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/1.693, allocations: 23.41 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.693, allocations: 54.8 kB / 1.313 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/1.693, allocations: 19.19 kB / 1.313 GB, free: 8.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000714/1.694, allocations: 0.5008 MB / 1.314 GB, free: 8.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.694, allocations: 0 / 1.314 GB, free: 8.398 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00123/1.695, allocations: 295.6 kB / 1.314 GB, free: 8.379 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.000525/1.696, allocations: 212.4 kB / 1.314 GB, free: 8.266 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003474/1.699, allocations: 1.518 MB / 1.316 GB, free: 7.957 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.699, allocations: 0 / 1.316 GB, free: 7.957 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.701, allocations: 0.9198 MB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.703, allocations: 472 kB / 1.317 GB, free: 7.602 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/1.706, allocations: 1.734 MB / 1.319 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/1.706, allocations: 0.9794 MB / 1.32 GB, free: 6.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007341/1.707, allocations: 165.8 kB / 1.32 GB, free: 6.059 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.707, allocations: 69.48 kB / 1.32 GB, free: 6.051 MB / 1.014 GB Notification: Performance of SimCode: time 1.323e-06/1.707, allocations: 0 / 1.32 GB, free: 6.051 MB / 1.014 GB Notification: Performance of Templates: time 0.03755/1.745, allocations: 22.64 MB / 1.342 GB, free: 14 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches