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.001867/0.001867, allocations: 108 kB / 15.61 MB, free: 148 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.002018/0.002018, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.677/2.677, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 59.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5893/0.5912, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2242/0.8154, allocations: 192.6 MB / 1.205 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007017/0.8225, allocations: 4.018 MB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.8232, allocations: 19.88 kB / 1.209 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.8247, allocations: 477 kB / 1.21 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.8283, allocations: 1.532 MB / 1.211 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.8316, allocations: 1.347 MB / 1.213 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.8338, allocations: 1.631 MB / 1.214 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.8351, allocations: 0.9548 MB / 1.215 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.8365, allocations: 0.9151 MB / 1.216 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.8376, allocations: 0.8487 MB / 1.217 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.8378, allocations: 96 kB / 1.217 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.8405, allocations: 1.309 MB / 1.218 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.8409, allocations: 355 kB / 1.219 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.8415, allocations: 0.5094 MB / 1.219 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8438, allocations: 1.62 MB / 1.221 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8438, allocations: 0 / 1.221 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8438, allocations: 0 / 1.221 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.8439, allocations: 0 / 1.221 GB, free: 1.441 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.003227/0.8471, allocations: 1.441 MB / 1.222 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8471, allocations: 12.03 kB / 1.222 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.8487, allocations: 246.5 kB / 1.222 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.8496, allocations: 0.5915 MB / 1.223 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.8497, allocations: 33 kB / 1.223 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8498, allocations: 52 kB / 1.223 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.8514, allocations: 0.957 MB / 1.224 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.8514, allocations: 3.906 kB / 1.224 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.8515, allocations: 31.92 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.8516, allocations: 35.98 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.8532, allocations: 0.9367 MB / 1.225 GB, free: 12.94 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.005704/0.8589, allocations: 4.258 MB / 1.229 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.86, allocations: 0.6002 MB / 1.23 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008229/0.8608, allocations: 0.5136 MB / 1.23 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.8619, allocations: 0.8783 MB / 1.231 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.862, allocations: 38.94 kB / 1.231 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001538/0.8635, allocations: 411.2 kB / 1.231 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 2.755e-06/0.8636, allocations: 4 kB / 1.231 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01881/0.8824, allocations: 3.837 MB / 1.235 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.8825, allocations: 63.72 kB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.8835, allocations: 0.7078 MB / 1.236 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.8836, allocations: 37.7 kB / 1.236 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.8839, allocations: 320.6 kB / 1.236 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.8841, allocations: 177.4 kB / 1.236 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.8844, allocations: 150 kB / 1.237 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8845, allocations: 330 kB / 1.237 GB, free: 180 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.8853, allocations: 392.9 kB / 1.237 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.8861, allocations: 485.5 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.8877, allocations: 0.9258 MB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8877, allocations: 0 / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01201/0.8997, allocations: 2.556 MB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8997, allocations: 8 kB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8997, allocations: 0 / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.9099, allocations: 1.734 MB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.9104, allocations: 107.7 kB / 1.243 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.9242, allocations: 7.154 MB / 1.25 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/0.9251, allocations: 16.06 kB / 1.25 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.9252, allocations: 47.92 kB / 1.25 GB, free: 2.395 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.0004106/0.9256, allocations: 205.7 kB / 1.25 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.9258, allocations: 79.06 kB / 1.25 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.9313, allocations: 1.745 MB / 1.252 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.9313, allocations: 7.984 kB / 1.252 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9314, allocations: 4 kB / 1.252 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.9314, allocations: 0 / 1.252 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5151/1.447, allocations: 2.542 MB / 1.254 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.447, allocations: 2.156 kB / 1.254 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/1.447, allocations: 87.89 kB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/1.451, allocations: 0.8045 MB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/1.451, allocations: 15.27 kB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/1.457, allocations: 4.856 MB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.458, allocations: 2.188 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/1.463, allocations: 2.154 MB / 1.262 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/1.464, allocations: 230.8 kB / 1.262 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.464, allocations: 17.06 kB / 1.262 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/1.464, allocations: 26.17 kB / 1.262 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/1.465, allocations: 53.06 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/1.465, allocations: 20 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007295/1.465, allocations: 0.496 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.465, allocations: 0 / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001076/1.467, allocations: 290.1 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.0005356/1.467, allocations: 222.6 kB / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004205/1.471, allocations: 1.519 MB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.471, allocations: 0.5312 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/1.473, allocations: 0.911 MB / 1.266 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.476, allocations: 468.5 kB / 1.266 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.478, allocations: 1.734 MB / 1.268 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/1.479, allocations: 0.985 MB / 1.269 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006773/1.48, allocations: 154.8 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.48, allocations: 66.81 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.48, allocations: 4 kB / 1.269 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03234/1.512, allocations: 22.63 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=400 -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