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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001626/0.001626, allocations: 192.5 kB / 16.14 MB, free: 6.734 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.47 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3762, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2229/0.5991, allocations: 190.4 MB / 1.238 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007755/0.6069, allocations: 4.061 MB / 1.242 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.6081, allocations: 15.94 kB / 1.242 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6096, allocations: 401.8 kB / 1.242 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.6139, allocations: 1.443 MB / 1.244 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.6179, allocations: 1.242 MB / 1.245 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003241/0.6212, allocations: 2.34 MB / 1.247 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8226/1.444, allocations: 0.8827 MB / 1.248 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/1.446, allocations: 0.8604 MB / 1.249 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.448, allocations: 0.8781 MB / 1.25 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/1.448, allocations: 79.5 kB / 1.25 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/1.452, allocations: 1.57 MB / 1.251 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/1.452, allocations: 340.7 kB / 1.252 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007354/1.453, allocations: 0.4918 MB / 1.252 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/1.456, allocations: 1.711 MB / 1.254 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.456, allocations: 3.812 kB / 1.254 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.456, allocations: 0 / 1.254 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.456, allocations: 0 / 1.254 GB, free: 4.121 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.003904/1.46, allocations: 1.442 MB / 1.255 GB, free: 19.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.46, allocations: 8.344 kB / 1.255 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/1.462, allocations: 239.8 kB / 1.256 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009901/1.463, allocations: 0.585 MB / 1.256 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/1.463, allocations: 41.5 kB / 1.256 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.463, allocations: 52.53 kB / 1.256 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/1.465, allocations: 0.9691 MB / 1.257 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.465, allocations: 9.672 kB / 1.257 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/1.465, allocations: 25.16 kB / 1.257 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/1.465, allocations: 27 kB / 1.257 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/1.466, allocations: 0.9387 MB / 1.258 GB, free: 18.85 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.005673/1.472, allocations: 4.257 MB / 1.262 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/1.473, allocations: 0.5957 MB / 1.263 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/1.474, allocations: 0.5184 MB / 1.263 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.475, allocations: 0.877 MB / 1.264 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.475, allocations: 37.92 kB / 1.264 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001967/1.477, allocations: 428.8 kB / 1.265 GB, free: 15.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 4.228e-06/1.477, allocations: 0 / 1.265 GB, free: 15.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01916/1.496, allocations: 3.842 MB / 1.268 GB, free: 15.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/1.496, allocations: 61.41 kB / 1.269 GB, free: 15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/1.498, allocations: 0.7093 MB / 1.269 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/1.498, allocations: 36.89 kB / 1.269 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.498, allocations: 314.9 kB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.499, allocations: 181.8 kB / 1.27 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.499, allocations: 147 kB / 1.27 GB, free: 14.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.499, allocations: 328.1 kB / 1.27 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009586/1.5, allocations: 404.2 kB / 1.271 GB, free: 14.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.501, allocations: 481.7 kB / 1.271 GB, free: 14.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/1.503, allocations: 0.9222 MB / 1.272 GB, free: 14.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.503, allocations: 4.531 kB / 1.272 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01242/1.516, allocations: 2.558 MB / 1.274 GB, free: 13.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.516, allocations: 6.438 kB / 1.274 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.516, allocations: 2.906 kB / 1.274 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00959/1.525, allocations: 1.728 MB / 1.276 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/1.526, allocations: 98.95 kB / 1.276 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.538, allocations: 6.663 MB / 1.283 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.54, allocations: 25.69 kB / 1.283 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.54, allocations: 47.64 kB / 1.283 GB, free: 11.16 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.0005063/1.54, allocations: 212.7 kB / 1.283 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.54, allocations: 83.03 kB / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/1.545, allocations: 1.738 MB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.545, allocations: 6.875 kB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.546, allocations: 5.938 kB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.546, allocations: 4.234 kB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/1.552, allocations: 2.536 MB / 1.287 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.552, allocations: 3.609 kB / 1.287 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/1.552, allocations: 89.78 kB / 1.287 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/1.555, allocations: 0.7974 MB / 1.288 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/1.556, allocations: 16.22 kB / 1.288 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006528/1.562, allocations: 4.491 MB / 1.293 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.562, allocations: 2.312 kB / 1.293 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/1.568, allocations: 2.149 MB / 1.295 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/1.568, allocations: 225.8 kB / 1.295 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.569, allocations: 19.22 kB / 1.295 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/1.569, allocations: 36.67 kB / 1.295 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.569, allocations: 52.08 kB / 1.295 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/1.57, allocations: 24.47 kB / 1.295 GB, free: 7.387 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006444/1.57, allocations: 0.4937 MB / 1.295 GB, free: 7.293 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.57, allocations: 0 / 1.295 GB, free: 7.293 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001205/1.571, allocations: 290.2 kB / 1.296 GB, free: 7.281 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.0005375/1.572, allocations: 228.8 kB / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003544/1.576, allocations: 1.459 MB / 1.297 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.576, allocations: 5.719 kB / 1.297 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.577, allocations: 0.9102 MB / 1.298 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.58, allocations: 438.3 kB / 1.299 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/1.583, allocations: 1.977 MB / 1.301 GB, free: 5.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/1.583, allocations: 0.9779 MB / 1.302 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006904/1.584, allocations: 159.9 kB / 1.302 GB, free: 4.832 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/1.584, allocations: 68.27 kB / 1.302 GB, free: 4.824 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/1.584, allocations: 2.812 kB / 1.302 GB, free: 4.824 MB / 1.014 GB Notification: Performance of Templates: time 0.03313/1.617, allocations: 21.67 MB / 1.323 GB, free: 15.45 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