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.001668/0.001668, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001722/0.001723, allocations: 194.4 kB / 16.25 MB, free: 6.633 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.65/2.65, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.88 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.655, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2409/0.8959, allocations: 190.2 MB / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9062, allocations: 4.004 MB / 1.206 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.9077, allocations: 19.88 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.9091, allocations: 417.8 kB / 1.207 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.9134, allocations: 1.436 MB / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.9174, allocations: 1.259 MB / 1.209 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.9204, allocations: 1.639 MB / 1.211 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.922, allocations: 0.9352 MB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.9239, allocations: 0.9422 MB / 1.213 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.9253, allocations: 0.8878 MB / 1.214 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.9255, allocations: 96 kB / 1.214 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.9288, allocations: 1.364 MB / 1.215 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.9293, allocations: 355 kB / 1.216 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009398/0.9303, allocations: 0.5094 MB / 1.216 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.9347, allocations: 1.722 MB / 1.218 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.9347, allocations: 0 / 1.218 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9347, allocations: 0 / 1.218 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.9347, allocations: 0 / 1.218 GB, free: 4.383 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.004088/0.9388, allocations: 1.452 MB / 1.219 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/0.9389, allocations: 8.031 kB / 1.219 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.9408, allocations: 242.7 kB / 1.219 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.9419, allocations: 0.5876 MB / 1.22 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.942, allocations: 41 kB / 1.22 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.9421, allocations: 48 kB / 1.22 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.944, allocations: 0.9725 MB / 1.221 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.944, allocations: 7.844 kB / 1.221 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.9441, allocations: 24 kB / 1.221 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.9442, allocations: 20 kB / 1.221 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.9459, allocations: 0.9445 MB / 1.222 GB, free: 15.87 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.007489/0.9535, allocations: 4.246 MB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.9546, allocations: 0.5977 MB / 1.227 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008689/0.9555, allocations: 0.5198 MB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.957, allocations: 0.8861 MB / 1.228 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.957, allocations: 39 kB / 1.228 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001962/0.959, allocations: 447.2 kB / 1.229 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 4.708e-06/0.959, allocations: 0 / 1.229 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01864/0.9777, allocations: 3.837 MB / 1.232 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.9778, allocations: 59.78 kB / 1.232 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.979, allocations: 0.7156 MB / 1.233 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.9793, allocations: 33.7 kB / 1.233 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.9796, allocations: 328.6 kB / 1.233 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.98, allocations: 173.4 kB / 1.234 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.9803, allocations: 150.1 kB / 1.234 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9805, allocations: 326 kB / 1.234 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.9812, allocations: 396.9 kB / 1.234 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.9821, allocations: 485.5 kB / 1.235 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.9838, allocations: 0.9219 MB / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9838, allocations: 0 / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01203/0.9958, allocations: 2.564 MB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.9959, allocations: 4 kB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9959, allocations: 4 kB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.006, allocations: 1.73 MB / 1.24 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/1.007, allocations: 95.81 kB / 1.24 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.021, allocations: 7.153 MB / 1.247 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/1.022, allocations: 32.23 kB / 1.247 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/1.022, allocations: 47.92 kB / 1.247 GB, free: 5.281 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.0005179/1.023, allocations: 212.9 kB / 1.247 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/1.023, allocations: 79.06 kB / 1.247 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/1.029, allocations: 1.75 MB / 1.249 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.029, allocations: 4 kB / 1.249 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.029, allocations: 4 kB / 1.249 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.029, allocations: 3.984 kB / 1.249 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/1.036, allocations: 2.544 MB / 1.252 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.036, allocations: 7.938 kB / 1.252 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/1.036, allocations: 91.83 kB / 1.252 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5651/1.601, allocations: 0.7965 MB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.602, allocations: 18.59 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/1.609, allocations: 4.853 MB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.609, allocations: 2.062 kB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.614, allocations: 2.145 MB / 1.259 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/1.615, allocations: 235.1 kB / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.615, allocations: 17.3 kB / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/1.616, allocations: 34.2 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.616, allocations: 56.55 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/1.616, allocations: 20.2 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007274/1.617, allocations: 0.4995 MB / 1.26 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.617, allocations: 0 / 1.26 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001084/1.618, allocations: 286.9 kB / 1.26 GB, free: 229.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.0005697/1.618, allocations: 222.6 kB / 1.261 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004048/1.622, allocations: 1.519 MB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.623, allocations: 0.6875 kB / 1.262 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.624, allocations: 0.9107 MB / 1.263 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.627, allocations: 466.3 kB / 1.263 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/1.63, allocations: 1.954 MB / 1.265 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/1.631, allocations: 0.9799 MB / 1.266 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008627/1.632, allocations: 167.5 kB / 1.266 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/1.632, allocations: 70.08 kB / 1.267 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.632, allocations: 0 / 1.267 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03451/1.666, allocations: 22.63 MB / 1.289 GB, free: 216.4 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