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.001455/0.001456, allocations: 103.1 kB / 16.27 MB, free: 5.887 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.001634/0.001634, allocations: 190.8 kB / 17.2 MB, free: 5.531 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.7426 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 60.81 kB / 0.9088 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4354, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.9445/1.38, allocations: 192.6 MB / 1.252 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007731/1.388, allocations: 4.019 MB / 1.256 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/1.389, allocations: 19.94 kB / 1.256 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/1.391, allocations: 469 kB / 1.257 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004862/1.396, allocations: 1.536 MB / 1.258 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/1.4, allocations: 1.353 MB / 1.26 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003059/1.403, allocations: 1.635 MB / 1.261 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/1.405, allocations: 0.947 MB / 1.262 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/1.407, allocations: 0.9228 MB / 1.263 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/1.408, allocations: 0.8526 MB / 1.264 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/1.408, allocations: 96 kB / 1.264 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/1.412, allocations: 1.305 MB / 1.265 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/1.412, allocations: 354.9 kB / 1.265 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.413, allocations: 0.5094 MB / 1.266 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/1.416, allocations: 1.617 MB / 1.268 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.416, allocations: 0 / 1.268 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.996e-06/1.416, allocations: 0 / 1.268 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.294e-05/1.416, allocations: 0 / 1.268 GB, free: 8.801 MB / 0.9825 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.003404/1.419, allocations: 1.453 MB / 1.269 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/1.419, allocations: 8.031 kB / 1.269 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.421, allocations: 234.8 kB / 1.269 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/1.423, allocations: 0.5837 MB / 1.27 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/1.423, allocations: 41 kB / 1.27 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.423, allocations: 59.84 kB / 1.27 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/1.425, allocations: 0.9609 MB / 1.271 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/1.425, allocations: 4 kB / 1.271 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/1.425, allocations: 27.98 kB / 1.271 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/1.425, allocations: 24 kB / 1.271 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/1.427, allocations: 0.9367 MB / 1.272 GB, free: 4.312 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.007138/1.434, allocations: 4.267 MB / 1.276 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.435, allocations: 0.5939 MB / 1.277 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/1.436, allocations: 0.5221 MB / 1.277 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.438, allocations: 0.8783 MB / 1.278 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/1.438, allocations: 35 kB / 1.278 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001883/1.439, allocations: 419.1 kB / 1.278 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 1.316e-05/1.439, allocations: 4 kB / 1.278 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.01897/1.458, allocations: 3.833 MB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.459, allocations: 59.84 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.46, allocations: 0.7116 MB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.46, allocations: 33.7 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/1.46, allocations: 320.5 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/1.461, allocations: 181.4 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/1.461, allocations: 150 kB / 1.283 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.461, allocations: 326 kB / 1.284 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/1.462, allocations: 396.9 kB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/1.463, allocations: 493.4 kB / 1.285 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/1.465, allocations: 0.918 MB / 1.286 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.465, allocations: 4 kB / 1.286 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01226/1.477, allocations: 2.56 MB / 1.288 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.477, allocations: 4 kB / 1.288 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.477, allocations: 4 kB / 1.288 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009843/1.487, allocations: 1.73 MB / 1.29 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/1.488, allocations: 95.86 kB / 1.29 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.502, allocations: 7.159 MB / 1.297 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.503, allocations: 20.05 kB / 1.297 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/1.503, allocations: 47.94 kB / 1.297 GB, free: 9.754 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.0005717/1.504, allocations: 205.7 kB / 1.297 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/1.504, allocations: 87.05 kB / 1.297 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/1.51, allocations: 1.73 MB / 1.299 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.51, allocations: 11.94 kB / 1.299 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.51, allocations: 4 kB / 1.299 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.51, allocations: 7.969 kB / 1.299 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/1.517, allocations: 2.544 MB / 1.301 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.517, allocations: 4 kB / 1.301 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/1.517, allocations: 83.89 kB / 1.301 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/1.521, allocations: 0.8056 MB / 1.302 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/1.521, allocations: 16 kB / 1.302 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/1.528, allocations: 4.866 MB / 1.307 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.528, allocations: 0 / 1.307 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/1.534, allocations: 2.151 MB / 1.309 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/1.534, allocations: 232 kB / 1.309 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/1.535, allocations: 12 kB / 1.309 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/1.535, allocations: 23.97 kB / 1.309 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.536, allocations: 56.44 kB / 1.309 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/1.536, allocations: 20 kB / 1.309 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007597/1.536, allocations: 0.499 MB / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.61e-07/1.536, allocations: 0 / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001294/1.538, allocations: 295.7 kB / 1.31 GB, free: 11.67 MB / 1.029 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.0006636/1.538, allocations: 227.2 kB / 1.31 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004041/1.543, allocations: 1.521 MB / 1.312 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.543, allocations: 0 / 1.312 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/1.545, allocations: 0.9109 MB / 1.313 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.547, allocations: 456.2 kB / 1.313 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/1.551, allocations: 1.777 MB / 1.315 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.552, allocations: 0.9828 MB / 1.316 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/1.552, allocations: 67.42 kB / 1.316 GB, free: 5.637 MB / 1.029 GB Notification: Performance of SimCode: time 1.503e-06/1.552, allocations: 0 / 1.316 GB, free: 5.637 MB / 1.029 GB Notification: Performance of Templates: time 0.03084/1.583, allocations: 19.3 MB / 1.335 GB, free: 2.457 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches