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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9107/0.9107, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.989/1.989, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 4 kB / 0.8782 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.859e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5487/0.5488, allocations: 189.9 MB / 1.064 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.5534, allocations: 4.264 MB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/0.554, allocations: 30.53 kB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.555, allocations: 467.3 kB / 1.068 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.5576, allocations: 1.673 MB / 1.07 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.5599, allocations: 1.43 MB / 1.071 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.5616, allocations: 1.69 MB / 1.073 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.5625, allocations: 0.9073 MB / 1.074 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.5644, allocations: 1.386 MB / 1.075 GB, free: 47.28 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.5653, allocations: 0.8045 MB / 1.076 GB, free: 47.22 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.5655, allocations: 105.7 kB / 1.076 GB, free: 47.22 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5671, allocations: 1.146 MB / 1.077 GB, free: 47.1 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.5674, allocations: 394 kB / 1.078 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.5678, allocations: 411.1 kB / 1.078 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.5698, allocations: 1.462 MB / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5698, allocations: 0.9688 kB / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5698, allocations: 0 / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.5698, allocations: 0.9375 kB / 1.079 GB, free: 46.88 MB / 1.01 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.001681/0.5715, allocations: 1.302 MB / 1.081 GB, free: 46.13 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5715, allocations: 8.188 kB / 1.081 GB, free: 46.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.5734, allocations: 0.54 MB / 1.081 GB, free: 46.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.574, allocations: 0.5711 MB / 1.082 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.5741, allocations: 34.84 kB / 1.082 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.5741, allocations: 52.67 kB / 1.082 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.5752, allocations: 0.9692 MB / 1.083 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5752, allocations: 7.234 kB / 1.083 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.5753, allocations: 26.77 kB / 1.083 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.5753, allocations: 29.38 kB / 1.083 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008247/0.5761, allocations: 0.5812 MB / 1.083 GB, free: 45.43 MB / 1.01 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.003119/0.5793, allocations: 4.487 MB / 1.088 GB, free: 42.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.58, allocations: 422.1 kB / 1.088 GB, free: 42.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.5804, allocations: 322.9 kB / 1.089 GB, free: 42.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.5807, allocations: 81.09 kB / 1.089 GB, free: 42.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5807, allocations: 49.61 kB / 1.089 GB, free: 42.34 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/0.5819, allocations: 0.6219 MB / 1.089 GB, free: 42.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 3.597e-06/0.5819, allocations: 0 / 1.089 GB, free: 42.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.007935/0.5899, allocations: 2.703 MB / 1.092 GB, free: 42.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.5899, allocations: 65.2 kB / 1.092 GB, free: 42.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.5903, allocations: 0.5614 MB / 1.092 GB, free: 41.95 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.5904, allocations: 34.92 kB / 1.093 GB, free: 41.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5906, allocations: 383.1 kB / 1.093 GB, free: 41.72 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.5907, allocations: 188.5 kB / 1.093 GB, free: 41.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.5909, allocations: 159.1 kB / 1.093 GB, free: 41.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.591, allocations: 0.5496 MB / 1.094 GB, free: 41.08 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.5915, allocations: 234 kB / 1.094 GB, free: 41.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.5919, allocations: 407 kB / 1.094 GB, free: 40.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.5927, allocations: 0.6086 MB / 1.095 GB, free: 40.79 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5928, allocations: 0.875 kB / 1.095 GB, free: 40.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005303/0.5981, allocations: 1.842 MB / 1.097 GB, free: 40.68 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5981, allocations: 6.531 kB / 1.097 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5981, allocations: 2.219 kB / 1.097 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.6043, allocations: 2.109 MB / 1.099 GB, free: 40.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.6048, allocations: 131.9 kB / 1.099 GB, free: 40.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/0.6111, allocations: 5.634 MB / 1.104 GB, free: 36.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.6118, allocations: 46.83 kB / 1.105 GB, free: 36.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.6119, allocations: 53.95 kB / 1.105 GB, free: 36.96 MB / 1.01 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.0002816/0.6122, allocations: 184.8 kB / 1.105 GB, free: 36.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.6124, allocations: 89.5 kB / 1.105 GB, free: 36.76 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.6152, allocations: 1.43 MB / 1.106 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6152, allocations: 5.469 kB / 1.106 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.6152, allocations: 7.5 kB / 1.106 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6152, allocations: 6.328 kB / 1.106 GB, free: 36.62 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.6188, allocations: 2.09 MB / 1.108 GB, free: 36.15 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6188, allocations: 6.469 kB / 1.108 GB, free: 36.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.6192, allocations: 117.5 kB / 1.108 GB, free: 36.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/0.6221, allocations: 1.347 MB / 1.11 GB, free: 36.04 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.6221, allocations: 17.98 kB / 1.11 GB, free: 36.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.6254, allocations: 4.446 MB / 1.114 GB, free: 32.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6254, allocations: 6.906 kB / 1.114 GB, free: 32.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.6286, allocations: 1.663 MB / 1.116 GB, free: 32.15 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.629, allocations: 164.9 kB / 1.116 GB, free: 32.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.6291, allocations: 11.56 kB / 1.116 GB, free: 32.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.6295, allocations: 48.47 kB / 1.116 GB, free: 32.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.6297, allocations: 53.2 kB / 1.116 GB, free: 32.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.6297, allocations: 26 kB / 1.116 GB, free: 32.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003421/0.6301, allocations: 385.7 kB / 1.116 GB, free: 31.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6301, allocations: 1.219 kB / 1.116 GB, free: 31.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009811/0.6311, allocations: 314.8 kB / 1.117 GB, free: 31.94 MB / 1.01 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 (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%), (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.0003274/0.6314, allocations: 191.7 kB / 1.117 GB, free: 31.84 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002335/0.6337, allocations: 1.279 MB / 1.118 GB, free: 31.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6337, allocations: 1.375 kB / 1.118 GB, free: 31.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6348, allocations: 0.8959 MB / 1.119 GB, free: 31 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.636, allocations: 368.7 kB / 1.119 GB, free: 30.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.6385, allocations: 1.547 MB / 1.121 GB, free: 30.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.6386, allocations: 193.6 kB / 1.121 GB, free: 30.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.6392, allocations: 136.7 kB / 1.121 GB, free: 30.05 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.6394, allocations: 68.12 kB / 1.121 GB, free: 30.04 MB / 1.01 GB Notification: Performance of SimCode: time 1.402e-06/0.6394, allocations: 0 / 1.121 GB, free: 30.04 MB / 1.01 GB Notification: Performance of Templates: time 0.02823/0.6676, allocations: 23.59 MB / 1.144 GB, free: 27.57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.119346609804779]