Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001288/0.001288, 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.001252/0.001252, allocations: 193.8 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.392/1.392, 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 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 75.83 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6783, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.194/0.8723, allocations: 192.6 MB / 1.205 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006369/0.8787, allocations: 4.01 MB / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.8797, allocations: 23.88 kB / 1.209 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.8811, allocations: 472.9 kB / 1.21 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.8849, allocations: 1.528 MB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.8885, allocations: 1.354 MB / 1.213 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.8909, allocations: 1.635 MB / 1.214 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.892, allocations: 0.9548 MB / 1.215 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.8936, allocations: 0.9229 MB / 1.216 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.8946, allocations: 0.841 MB / 1.217 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.8947, allocations: 96 kB / 1.217 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.8972, allocations: 1.309 MB / 1.218 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.8975, allocations: 359 kB / 1.219 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.8981, allocations: 0.5094 MB / 1.219 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.9001, allocations: 1.62 MB / 1.221 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9001, allocations: 0 / 1.221 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9001, allocations: 3.938 kB / 1.221 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9001, allocations: 0 / 1.221 GB, free: 1.461 MB / 0.9669 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.002904/0.903, allocations: 1.441 MB / 1.222 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9031, allocations: 8.031 kB / 1.222 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.9046, allocations: 242.6 kB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.9055, allocations: 0.5837 MB / 1.223 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.9055, allocations: 37 kB / 1.223 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9057, allocations: 59.98 kB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.9071, allocations: 0.957 MB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.9071, allocations: 7.906 kB / 1.224 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.9072, allocations: 23.98 kB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.9073, allocations: 35.92 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.9088, allocations: 0.9367 MB / 1.225 GB, free: 12.97 MB / 0.9825 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.005258/0.9141, allocations: 4.258 MB / 1.229 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.915, allocations: 0.5987 MB / 1.23 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007626/0.9158, allocations: 0.5136 MB / 1.23 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.9168, allocations: 0.8744 MB / 1.231 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.9169, allocations: 42.98 kB / 1.231 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001478/0.9184, allocations: 419.2 kB / 1.231 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.9184, allocations: 3.938 kB / 1.231 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01861/0.937, allocations: 3.833 MB / 1.235 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.9371, allocations: 67.77 kB / 1.235 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.9381, allocations: 0.7039 MB / 1.236 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.9382, allocations: 33.7 kB / 1.236 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.9385, allocations: 320.6 kB / 1.236 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.9387, allocations: 177.4 kB / 1.236 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.939, allocations: 150 kB / 1.237 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9391, allocations: 330 kB / 1.237 GB, free: 208 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.9398, allocations: 397 kB / 1.237 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.9406, allocations: 489.5 kB / 1.238 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.9422, allocations: 0.9219 MB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.9422, allocations: 4 kB / 1.239 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01193/0.9541, allocations: 2.556 MB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9542, allocations: 4 kB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9542, allocations: 4 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.9644, allocations: 1.73 MB / 1.243 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.9649, allocations: 91.81 kB / 1.243 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.9789, allocations: 7.168 MB / 1.25 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/0.9798, allocations: 20.05 kB / 1.25 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.98, allocations: 51.92 kB / 1.25 GB, free: 2.414 MB / 0.9981 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.0004517/0.9804, allocations: 201.8 kB / 1.25 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.9807, allocations: 79.06 kB / 1.25 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/0.986, allocations: 1.738 MB / 1.252 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.9861, allocations: 8 kB / 1.252 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9861, allocations: 4 kB / 1.252 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.9861, allocations: 3.984 kB / 1.252 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5063/1.492, allocations: 2.542 MB / 1.254 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.492, allocations: 1.375 kB / 1.254 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/1.493, allocations: 89 kB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.497, allocations: 0.8102 MB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/1.497, allocations: 15.94 kB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/1.503, allocations: 4.854 MB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.503, allocations: 6.312 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/1.509, allocations: 2.149 MB / 1.262 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/1.509, allocations: 237.5 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.51, allocations: 14.03 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/1.51, allocations: 26.28 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/1.51, allocations: 48.66 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/1.51, allocations: 20.08 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007757/1.511, allocations: 0.4991 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.511, allocations: 0 / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001105/1.512, allocations: 286.9 kB / 1.263 GB, free: 228.6 MB / 0.9981 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.0005423/1.513, allocations: 225.4 kB / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004154/1.517, allocations: 1.511 MB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.517, allocations: 1.031 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.519, allocations: 0.9222 MB / 1.266 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.521, allocations: 458.9 kB / 1.266 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/1.524, allocations: 1.726 MB / 1.268 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/1.525, allocations: 0.9806 MB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006188/1.525, allocations: 162.8 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/1.525, allocations: 69.27 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.525, allocations: 1.219 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03099/1.556, allocations: 22.64 MB / 1.291 GB, free: 213.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches