Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001873/0.001874, allocations: 107.9 kB / 16.27 MB, free: 6.414 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.001834/0.001834, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.524/1.524, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 469.8 MB / 0.743 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 68.3 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.088/1.508, allocations: 192.6 MB / 1.253 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008223/1.517, allocations: 4.015 MB / 1.257 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.518, allocations: 23.88 kB / 1.257 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.519, allocations: 465 kB / 1.257 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/1.524, allocations: 1.536 MB / 1.259 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/1.528, allocations: 1.357 MB / 1.26 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002464/1.531, allocations: 1.634 MB / 1.262 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/1.532, allocations: 0.9469 MB / 1.262 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/1.533, allocations: 0.9151 MB / 1.263 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/1.535, allocations: 0.8565 MB / 1.264 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/1.535, allocations: 96 kB / 1.264 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/1.538, allocations: 1.309 MB / 1.266 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/1.538, allocations: 355 kB / 1.266 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006196/1.539, allocations: 0.5094 MB / 1.266 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/1.541, allocations: 1.617 MB / 1.268 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.541, allocations: 4 kB / 1.268 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.525e-06/1.541, allocations: 0 / 1.268 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.541, allocations: 0 / 1.268 GB, free: 8.664 MB / 0.9825 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.003322/1.545, allocations: 1.449 MB / 1.269 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.545, allocations: 8.031 kB / 1.269 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.546, allocations: 234.8 kB / 1.27 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/1.547, allocations: 0.5915 MB / 1.27 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.547, allocations: 33 kB / 1.27 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.547, allocations: 51.91 kB / 1.27 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/1.549, allocations: 0.9711 MB / 1.271 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.549, allocations: 11.86 kB / 1.271 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/1.549, allocations: 24 kB / 1.271 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/1.549, allocations: 31.98 kB / 1.271 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.551, allocations: 0.9406 MB / 1.272 GB, free: 4.164 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.005935/1.557, allocations: 4.248 MB / 1.276 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.558, allocations: 0.5977 MB / 1.277 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/1.559, allocations: 0.5175 MB / 1.277 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.56, allocations: 0.8743 MB / 1.278 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.56, allocations: 46.98 kB / 1.278 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001518/1.562, allocations: 419.1 kB / 1.279 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 3.607e-06/1.562, allocations: 0 / 1.279 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.01835/1.58, allocations: 3.837 MB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.58, allocations: 59.83 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.581, allocations: 0.7077 MB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/1.581, allocations: 37.7 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/1.581, allocations: 324.6 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/1.582, allocations: 173.4 kB / 1.284 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.582, allocations: 150 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.582, allocations: 326 kB / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/1.583, allocations: 400.9 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/1.584, allocations: 481.5 kB / 1.285 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.585, allocations: 0.9258 MB / 1.286 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.585, allocations: 0 / 1.286 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01174/1.597, allocations: 2.552 MB / 1.288 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.597, allocations: 7.938 kB / 1.288 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.597, allocations: 4 kB / 1.288 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009924/1.607, allocations: 1.738 MB / 1.29 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/1.608, allocations: 91.88 kB / 1.29 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.621, allocations: 7.158 MB / 1.297 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.622, allocations: 20.05 kB / 1.297 GB, free: 9.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.623, allocations: 48 kB / 1.297 GB, free: 9.621 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.0004927/1.623, allocations: 211.9 kB / 1.298 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.623, allocations: 79.06 kB / 1.298 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/1.629, allocations: 1.742 MB / 1.299 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.629, allocations: 7.938 kB / 1.299 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.629, allocations: 4 kB / 1.299 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/1.629, allocations: 7.922 kB / 1.299 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/1.635, allocations: 2.548 MB / 1.302 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.635, allocations: 4 kB / 1.302 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/1.635, allocations: 91.83 kB / 1.302 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003495/1.639, allocations: 0.7993 MB / 1.303 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/1.639, allocations: 19.98 kB / 1.303 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007557/1.646, allocations: 4.854 MB / 1.307 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.646, allocations: 4 kB / 1.307 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/1.652, allocations: 2.147 MB / 1.31 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/1.653, allocations: 236 kB / 1.31 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.653, allocations: 12 kB / 1.31 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/1.653, allocations: 19.98 kB / 1.31 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.654, allocations: 56.38 kB / 1.31 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/1.654, allocations: 24.31 kB / 1.31 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007044/1.654, allocations: 0.5029 MB / 1.31 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.654, allocations: 0 / 1.31 GB, free: 11.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00106/1.655, allocations: 287.7 kB / 1.311 GB, free: 11.54 MB / 1.029 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.0005904/1.656, allocations: 227.1 kB / 1.311 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00426/1.66, allocations: 1.508 MB / 1.312 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.66, allocations: 4.062 kB / 1.312 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.662, allocations: 0.9145 MB / 1.313 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.665, allocations: 463.8 kB / 1.314 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.668, allocations: 1.774 MB / 1.315 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/1.669, allocations: 0.9828 MB / 1.316 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/1.67, allocations: 75.41 kB / 1.316 GB, free: 5.492 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/1.67, allocations: 0 / 1.316 GB, free: 5.492 MB / 1.029 GB Notification: Performance of Templates: time 0.0303/1.7, allocations: 19.28 MB / 1.335 GB, free: 2.332 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches