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.001532/0.001532, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001767/0.001767, allocations: 191 kB / 16.25 MB, free: 6.629 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.05 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4242, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.165/1.589, allocations: 190.1 MB / 1.253 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006855/1.596, allocations: 4.001 MB / 1.257 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/1.597, allocations: 18.06 kB / 1.257 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/1.599, allocations: 415.4 kB / 1.258 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004575/1.604, allocations: 1.443 MB / 1.259 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/1.608, allocations: 1.254 MB / 1.26 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003443/1.611, allocations: 1.639 MB / 1.262 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.613, allocations: 0.9364 MB / 1.263 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/1.615, allocations: 0.9395 MB / 1.264 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.617, allocations: 0.8874 MB / 1.265 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/1.617, allocations: 96.31 kB / 1.265 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/1.62, allocations: 1.36 MB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/1.621, allocations: 357.1 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008451/1.621, allocations: 0.5109 MB / 1.267 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003971/1.625, allocations: 1.722 MB / 1.269 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.625, allocations: 1.094 kB / 1.269 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.625, allocations: 0.875 kB / 1.269 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.794e-05/1.625, allocations: 0 / 1.269 GB, free: 5.281 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.003833/1.629, allocations: 1.448 MB / 1.27 GB, free: 20.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.629, allocations: 12.27 kB / 1.27 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/1.631, allocations: 237.5 kB / 1.27 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.632, allocations: 0.5884 MB / 1.271 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/1.632, allocations: 35.44 kB / 1.271 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.632, allocations: 57.69 kB / 1.271 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.634, allocations: 0.9628 MB / 1.272 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.634, allocations: 5.125 kB / 1.272 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/1.634, allocations: 20.47 kB / 1.272 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/1.634, allocations: 26.33 kB / 1.272 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.636, allocations: 0.9424 MB / 1.273 GB, free: 20.04 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.006405/1.643, allocations: 4.264 MB / 1.277 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/1.644, allocations: 0.597 MB / 1.278 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.645, allocations: 0.5149 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.646, allocations: 0.8788 MB / 1.279 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.646, allocations: 39.06 kB / 1.279 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002347/1.649, allocations: 459.4 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.908e-06/1.649, allocations: 0 / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01783/1.666, allocations: 3.838 MB / 1.283 GB, free: 16.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/1.667, allocations: 61.03 kB / 1.283 GB, free: 16.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.668, allocations: 0.7061 MB / 1.284 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.668, allocations: 36.66 kB / 1.284 GB, free: 16.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/1.668, allocations: 321.2 kB / 1.284 GB, free: 16.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.668, allocations: 178.9 kB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/1.669, allocations: 152.4 kB / 1.285 GB, free: 15.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/1.669, allocations: 331.4 kB / 1.285 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/1.669, allocations: 395.5 kB / 1.285 GB, free: 15.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/1.67, allocations: 492.1 kB / 1.286 GB, free: 15.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/1.672, allocations: 0.9131 MB / 1.287 GB, free: 15.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.672, allocations: 2.062 kB / 1.287 GB, free: 15.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0107/1.682, allocations: 2.562 MB / 1.289 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.682, allocations: 10.56 kB / 1.289 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.682, allocations: 5.703 kB / 1.289 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/1.691, allocations: 1.739 MB / 1.291 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/1.692, allocations: 94.89 kB / 1.291 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.704, allocations: 7.152 MB / 1.298 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.706, allocations: 29.98 kB / 1.298 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.706, allocations: 47.3 kB / 1.298 GB, free: 12.36 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.0005381/1.706, allocations: 210.4 kB / 1.298 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.706, allocations: 82.84 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/1.711, allocations: 1.741 MB / 1.3 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.711, allocations: 5.844 kB / 1.3 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.711, allocations: 3.469 kB / 1.3 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.711, allocations: 8.297 kB / 1.3 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/1.717, allocations: 2.534 MB / 1.302 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.717, allocations: 1.375 kB / 1.302 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/1.718, allocations: 93.33 kB / 1.303 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003429/1.721, allocations: 0.8005 MB / 1.303 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.721, allocations: 17.81 kB / 1.303 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/1.728, allocations: 4.856 MB / 1.308 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.728, allocations: 5.688 kB / 1.308 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/1.733, allocations: 2.147 MB / 1.31 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/1.734, allocations: 237.1 kB / 1.31 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.734, allocations: 18.12 kB / 1.31 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/1.735, allocations: 27.09 kB / 1.31 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.735, allocations: 52.48 kB / 1.31 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.735, allocations: 22.11 kB / 1.311 GB, free: 8.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008662/1.736, allocations: 0.4983 MB / 1.311 GB, free: 8.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.433e-06/1.736, allocations: 1.469 kB / 1.311 GB, free: 8.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001771/1.738, allocations: 296.8 kB / 1.311 GB, free: 8.25 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.0006545/1.738, allocations: 218 kB / 1.311 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004043/1.742, allocations: 1.519 MB / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.742, allocations: 0 / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.744, allocations: 0.9174 MB / 1.314 GB, free: 7.559 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.746, allocations: 452.7 kB / 1.314 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/1.75, allocations: 1.974 MB / 1.316 GB, free: 6.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/1.75, allocations: 0.9803 MB / 1.317 GB, free: 5.754 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007525/1.751, allocations: 161.1 kB / 1.317 GB, free: 5.711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.751, allocations: 69.45 kB / 1.317 GB, free: 5.703 MB / 1.014 GB Notification: Performance of SimCode: time 1.051e-06/1.751, allocations: 0 / 1.317 GB, free: 5.703 MB / 1.014 GB Notification: Performance of Templates: time 0.03796/1.789, allocations: 22.64 MB / 1.34 GB, free: 14.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