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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008268/0.008268, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001764/0.001764, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.05 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.227, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2329/1.46, allocations: 192.6 MB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008167/1.468, allocations: 4.022 MB / 1.4 GB, free: 8.266 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/1.471, allocations: 23.88 kB / 1.4 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/1.473, allocations: 493 kB / 1.4 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/1.478, allocations: 1.586 MB / 1.402 GB, free: 6.168 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/1.483, allocations: 1.374 MB / 1.403 GB, free: 4.793 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003555/1.486, allocations: 1.643 MB / 1.405 GB, free: 3.145 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/1.488, allocations: 0.9528 MB / 1.406 GB, free: 2.18 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/1.49, allocations: 0.9384 MB / 1.407 GB, free: 1.238 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/1.492, allocations: 0.8487 MB / 1.407 GB, free: 396 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/1.492, allocations: 96 kB / 1.407 GB, free: 300 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/1.495, allocations: 1.313 MB / 1.409 GB, free: 14.98 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.496, allocations: 362.9 kB / 1.409 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006863/1.497, allocations: 0.5094 MB / 1.41 GB, free: 14.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003357/1.5, allocations: 1.628 MB / 1.411 GB, free: 12.48 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.5, allocations: 0 / 1.411 GB, free: 12.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.495e-06/1.5, allocations: 0 / 1.411 GB, free: 12.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.5, allocations: 0 / 1.411 GB, free: 12.48 MB / 1.139 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.003388/1.503, allocations: 1.448 MB / 1.413 GB, free: 10.97 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.503, allocations: 12.02 kB / 1.413 GB, free: 10.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/1.505, allocations: 234.8 kB / 1.413 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.506, allocations: 0.6109 MB / 1.413 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.506, allocations: 40.98 kB / 1.413 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.506, allocations: 52 kB / 1.414 GB, free: 9.988 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.508, allocations: 0.9647 MB / 1.414 GB, free: 8.953 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/1.508, allocations: 7.938 kB / 1.414 GB, free: 8.945 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/1.508, allocations: 16 kB / 1.415 GB, free: 8.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/1.508, allocations: 35.98 kB / 1.415 GB, free: 8.895 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/1.51, allocations: 0.9367 MB / 1.415 GB, free: 7.957 MB / 1.139 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.005846/1.516, allocations: 4.258 MB / 1.42 GB, free: 3.527 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.517, allocations: 0.6032 MB / 1.42 GB, free: 2.914 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/1.518, allocations: 0.5156 MB / 1.421 GB, free: 2.398 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.519, allocations: 0.8783 MB / 1.422 GB, free: 1.336 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.519, allocations: 39 kB / 1.422 GB, free: 1.289 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001597/1.521, allocations: 415.1 kB / 1.422 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 4.138e-06/1.521, allocations: 4 kB / 1.422 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.01694/1.538, allocations: 3.837 MB / 1.426 GB, free: 12.99 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/1.538, allocations: 59.78 kB / 1.426 GB, free: 12.92 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.539, allocations: 0.7116 MB / 1.427 GB, free: 12.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.539, allocations: 37.69 kB / 1.427 GB, free: 12.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/1.54, allocations: 320.6 kB / 1.427 GB, free: 11.84 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/1.54, allocations: 173.5 kB / 1.427 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/1.54, allocations: 150 kB / 1.427 GB, free: 11.52 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.54, allocations: 334 kB / 1.427 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/1.541, allocations: 392.9 kB / 1.428 GB, free: 10.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/1.542, allocations: 485.5 kB / 1.428 GB, free: 10.3 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.544, allocations: 0.9219 MB / 1.429 GB, free: 9.352 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.544, allocations: 0 / 1.429 GB, free: 9.352 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01113/1.555, allocations: 2.556 MB / 1.432 GB, free: 6.777 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/1.555, allocations: 8 kB / 1.432 GB, free: 6.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.555, allocations: 3.984 kB / 1.432 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00925/1.564, allocations: 1.741 MB / 1.433 GB, free: 5.016 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/1.565, allocations: 95.86 kB / 1.434 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.578, allocations: 7.134 MB / 1.44 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.579, allocations: 20.05 kB / 1.44 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/1.579, allocations: 51.91 kB / 1.441 GB, free: 13.43 MB / 1.17 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.0005701/1.58, allocations: 209.6 kB / 1.441 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.58, allocations: 82.97 kB / 1.441 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/1.585, allocations: 1.738 MB / 1.443 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.585, allocations: 12 kB / 1.443 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.585, allocations: 256 / 1.443 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/1.585, allocations: 3.984 kB / 1.443 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/1.591, allocations: 2.548 MB / 1.445 GB, free: 8.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.591, allocations: 3.938 kB / 1.445 GB, free: 8.727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/1.591, allocations: 83.89 kB / 1.445 GB, free: 8.645 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/1.595, allocations: 0.7939 MB / 1.446 GB, free: 7.844 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/1.595, allocations: 19.98 kB / 1.446 GB, free: 7.824 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/1.601, allocations: 4.851 MB / 1.451 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.601, allocations: 0 / 1.451 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/1.607, allocations: 2.151 MB / 1.453 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/1.607, allocations: 231.9 kB / 1.453 GB, free: 256 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.608, allocations: 12 kB / 1.453 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/1.608, allocations: 28.17 kB / 1.453 GB, free: 216 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.608, allocations: 56.38 kB / 1.453 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/1.608, allocations: 23.97 kB / 1.453 GB, free: 136 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000785/1.609, allocations: 0.499 MB / 1.454 GB, free: 15.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.71e-07/1.609, allocations: 0 / 1.454 GB, free: 15.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001199/1.611, allocations: 287.8 kB / 1.454 GB, free: 15.36 MB / 1.186 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.0006408/1.611, allocations: 218 kB / 1.454 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003705/1.615, allocations: 1.468 MB / 1.455 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.615, allocations: 0 / 1.455 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/1.617, allocations: 0.907 MB / 1.456 GB, free: 12.71 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/1.619, allocations: 465.3 kB / 1.457 GB, free: 12.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/1.622, allocations: 1.711 MB / 1.458 GB, free: 10.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/1.623, allocations: 0.9789 MB / 1.459 GB, free: 9.508 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006765/1.624, allocations: 158.6 kB / 1.46 GB, free: 9.348 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/1.624, allocations: 75.34 kB / 1.46 GB, free: 9.273 MB / 1.186 GB Notification: Performance of SimCode: time 9.72e-07/1.624, allocations: 4 kB / 1.46 GB, free: 9.27 MB / 1.186 GB Notification: Performance of Templates: time 0.04525/1.669, allocations: 22.75 MB / 1.482 GB, free: 2.762 MB / 1.201 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