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.001541/0.001541, allocations: 106.5 kB / 16.27 MB, free: 5.902 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.001609/0.001609, allocations: 189.8 kB / 17.2 MB, free: 5.547 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.387/1.387, 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 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002027, allocations: 75.28 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.915/1.248, allocations: 192.6 MB / 1.206 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007457/1.255, allocations: 4.009 MB / 1.21 GB, free: 264 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/1.256, allocations: 21.44 kB / 1.21 GB, free: 256 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/1.258, allocations: 470.4 kB / 1.21 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004568/1.263, allocations: 1.529 MB / 1.212 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/1.267, allocations: 1.358 MB / 1.213 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002941/1.27, allocations: 1.637 MB / 1.215 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/1.271, allocations: 0.9549 MB / 1.216 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/1.273, allocations: 0.9122 MB / 1.217 GB, free: 11.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.274, allocations: 0.8522 MB / 1.218 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/1.274, allocations: 95 kB / 1.218 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/1.278, allocations: 1.31 MB / 1.219 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/1.278, allocations: 349.5 kB / 1.219 GB, free: 10.15 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/1.279, allocations: 0.5117 MB / 1.22 GB, free: 9.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/1.282, allocations: 1.619 MB / 1.221 GB, free: 8.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.282, allocations: 0 / 1.221 GB, free: 8.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/1.282, allocations: 4 kB / 1.221 GB, free: 8.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.282, allocations: 0 / 1.221 GB, free: 8.75 MB / 0.92 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.003253/1.285, allocations: 1.444 MB / 1.223 GB, free: 7.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.285, allocations: 14.58 kB / 1.223 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/1.287, allocations: 237.4 kB / 1.223 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/1.288, allocations: 0.5837 MB / 1.224 GB, free: 6.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/1.288, allocations: 44.98 kB / 1.224 GB, free: 6.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.288, allocations: 48 kB / 1.224 GB, free: 6.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.289, allocations: 0.9648 MB / 1.225 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/1.289, allocations: 3.906 kB / 1.225 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/1.289, allocations: 24 kB / 1.225 GB, free: 5.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/1.289, allocations: 23.98 kB / 1.225 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.291, allocations: 0.9445 MB / 1.226 GB, free: 4.762 MB / 0.92 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.005854/1.297, allocations: 4.262 MB / 1.23 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.298, allocations: 0.5978 MB / 1.23 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/1.299, allocations: 0.5152 MB / 1.231 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.3, allocations: 0.8782 MB / 1.232 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.3, allocations: 43 kB / 1.232 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001664/1.302, allocations: 411.2 kB / 1.232 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 3.547e-06/1.302, allocations: 3.938 kB / 1.232 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01854/1.32, allocations: 3.837 MB / 1.236 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/1.32, allocations: 59.84 kB / 1.236 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.321, allocations: 0.7155 MB / 1.237 GB, free: 9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/1.322, allocations: 37.7 kB / 1.237 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/1.322, allocations: 316.6 kB / 1.237 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.322, allocations: 177.4 kB / 1.237 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.322, allocations: 142.1 kB / 1.237 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.322, allocations: 326 kB / 1.238 GB, free: 8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/1.323, allocations: 404.9 kB / 1.238 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/1.324, allocations: 485.5 kB / 1.238 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.326, allocations: 0.918 MB / 1.239 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.326, allocations: 4 kB / 1.239 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01202/1.338, allocations: 2.558 MB / 1.242 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.338, allocations: 7.984 kB / 1.242 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.338, allocations: 4 kB / 1.242 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.348, allocations: 1.731 MB / 1.243 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/1.348, allocations: 95.86 kB / 1.244 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.363, allocations: 7.16 MB / 1.251 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.364, allocations: 24.05 kB / 1.251 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.364, allocations: 47.92 kB / 1.251 GB, free: 10.21 MB / 0.9512 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.0005739/1.365, allocations: 205.7 kB / 1.251 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.365, allocations: 79.06 kB / 1.251 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/1.37, allocations: 1.738 MB / 1.253 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.37, allocations: 7.938 kB / 1.253 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.37, allocations: 4 kB / 1.253 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.37, allocations: 3.984 kB / 1.253 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/1.377, allocations: 2.552 MB / 1.255 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/1.377, allocations: 4 kB / 1.255 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/1.377, allocations: 87.89 kB / 1.255 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.381, allocations: 0.7982 MB / 1.256 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/1.381, allocations: 19.98 kB / 1.256 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/1.388, allocations: 4.867 MB / 1.261 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.388, allocations: 7.938 kB / 1.261 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/1.394, allocations: 2.147 MB / 1.263 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/1.395, allocations: 228 kB / 1.263 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.395, allocations: 12 kB / 1.263 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/1.396, allocations: 19.98 kB / 1.263 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.396, allocations: 52.44 kB / 1.263 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/1.396, allocations: 27.98 kB / 1.263 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007885/1.397, allocations: 0.499 MB / 1.264 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.397, allocations: 0 / 1.264 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001302/1.398, allocations: 287.8 kB / 1.264 GB, free: 12.14 MB / 0.9669 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.0006191/1.399, allocations: 232.6 kB / 1.264 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004106/1.403, allocations: 1.504 MB / 1.266 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.403, allocations: 256 / 1.266 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.405, allocations: 0.9233 MB / 1.267 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.407, allocations: 467.1 kB / 1.267 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/1.411, allocations: 1.77 MB / 1.269 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/1.411, allocations: 0.9789 MB / 1.27 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/1.412, allocations: 75.41 kB / 1.27 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/1.412, allocations: 0 / 1.27 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of Templates: time 0.03082/1.442, allocations: 19.28 MB / 1.289 GB, free: 2.938 MB / 0.9825 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches