Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001251/0.001251, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.001359/0.001359, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 1.001/1.001, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.872/1.872, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.28e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7955/0.7956, allocations: 170.3 MB / 1.148 GB, free: 14.17 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006959/0.8025, allocations: 3.787 MB / 1.152 GB, free: 11.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.8039, allocations: 26.22 kB / 1.152 GB, free: 11.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.8055, allocations: 468.3 kB / 1.153 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.8104, allocations: 1.593 MB / 1.154 GB, free: 10.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.815, allocations: 1.448 MB / 1.156 GB, free: 9.742 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.8186, allocations: 1.662 MB / 1.157 GB, free: 8.957 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.8202, allocations: 0.836 MB / 1.158 GB, free: 8.574 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.8239, allocations: 1.364 MB / 1.159 GB, free: 8 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.8256, allocations: 0.7789 MB / 1.16 GB, free: 7.77 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.826, allocations: 103.3 kB / 1.16 GB, free: 7.766 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.8291, allocations: 1.112 MB / 1.161 GB, free: 7.359 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.8296, allocations: 382.9 kB / 1.162 GB, free: 7.168 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.8304, allocations: 392.4 kB / 1.162 GB, free: 7.012 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.8344, allocations: 1.768 MB / 1.164 GB, free: 6.375 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8344, allocations: 1.312 kB / 1.164 GB, free: 6.375 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8344, allocations: 0 / 1.164 GB, free: 6.375 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.8345, allocations: 3.938 kB / 1.164 GB, free: 6.371 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.002748/0.8372, allocations: 1.175 MB / 1.165 GB, free: 5.605 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.8373, allocations: 14.97 kB / 1.165 GB, free: 5.602 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8384, allocations: 242.2 kB / 1.165 GB, free: 5.535 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.8394, allocations: 0.5506 MB / 1.166 GB, free: 5.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.8394, allocations: 37.56 kB / 1.166 GB, free: 5.164 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8395, allocations: 49.12 kB / 1.166 GB, free: 5.148 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.841, allocations: 1.06 MB / 1.167 GB, free: 4.586 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.8411, allocations: 6.578 kB / 1.167 GB, free: 4.582 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.8411, allocations: 22.69 kB / 1.167 GB, free: 4.566 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.8412, allocations: 38.12 kB / 1.167 GB, free: 4.555 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.8426, allocations: 0.9958 MB / 1.168 GB, free: 4.184 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.847, allocations: 3.59 MB / 1.171 GB, free: 1.559 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.8478, allocations: 0.5591 MB / 1.172 GB, free: 1.328 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/0.8484, allocations: 483.4 kB / 1.172 GB, free: 1.141 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/0.849, allocations: 137 kB / 1.173 GB, free: 1.125 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.849, allocations: 40.56 kB / 1.173 GB, free: 1.082 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001491/0.8505, allocations: 0.617 MB / 1.173 GB, free: 0.957 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 7.343e-06/0.8505, allocations: 5.406 kB / 1.173 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.009716/0.8602, allocations: 3.656 MB / 1.177 GB, free: 88 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.8603, allocations: 59.72 kB / 1.177 GB, free: 20 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.8611, allocations: 0.5582 MB / 1.177 GB, free: 15.76 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.8612, allocations: 37.3 kB / 1.177 GB, free: 15.72 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.8615, allocations: 336.2 kB / 1.178 GB, free: 15.46 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.8616, allocations: 181.8 kB / 1.178 GB, free: 15.31 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.8618, allocations: 150.8 kB / 1.178 GB, free: 15.26 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.862, allocations: 378.6 kB / 1.178 GB, free: 14.92 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.8625, allocations: 397.8 kB / 1.179 GB, free: 14.77 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.8631, allocations: 0.5273 MB / 1.179 GB, free: 14.46 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.8643, allocations: 0.9264 MB / 1.18 GB, free: 14 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.8643, allocations: 1.531 kB / 1.18 GB, free: 14 MB / 1.026 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006519/0.8708, allocations: 2.538 MB / 1.183 GB, free: 13.34 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.8709, allocations: 6.438 kB / 1.183 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.8709, allocations: 1.25 kB / 1.183 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004999/0.8759, allocations: 1.723 MB / 1.184 GB, free: 13.08 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.8763, allocations: 97.66 kB / 1.184 GB, free: 13.07 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009061/0.8854, allocations: 6.83 MB / 1.191 GB, free: 8.258 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.8863, allocations: 20.73 kB / 1.191 GB, free: 8.246 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.8863, allocations: 48.77 kB / 1.191 GB, free: 8.223 MB / 1.026 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.0005144/0.8869, allocations: 214.5 kB / 1.191 GB, free: 8.043 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.887, allocations: 70.3 kB / 1.191 GB, free: 8.008 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.89, allocations: 1.721 MB / 1.193 GB, free: 7.016 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.89, allocations: 5.125 kB / 1.193 GB, free: 7.016 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.89, allocations: 6.125 kB / 1.193 GB, free: 7.016 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8901, allocations: 0 / 1.193 GB, free: 7.016 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.8937, allocations: 2.322 MB / 1.195 GB, free: 5.578 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8937, allocations: 0 / 1.195 GB, free: 5.578 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.894, allocations: 89.39 kB / 1.195 GB, free: 5.559 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.8956, allocations: 0.797 MB / 1.196 GB, free: 5.223 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.8957, allocations: 13.59 kB / 1.196 GB, free: 5.215 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.9, allocations: 4.56 MB / 1.201 GB, free: 1.586 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9, allocations: 7.094 kB / 1.201 GB, free: 1.582 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.9032, allocations: 2.125 MB / 1.203 GB, free: 352 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.9037, allocations: 146.2 kB / 1.203 GB, free: 248 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.9037, allocations: 10.53 kB / 1.203 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.904, allocations: 22.67 kB / 1.203 GB, free: 228 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.9042, allocations: 53.81 kB / 1.203 GB, free: 196 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.9042, allocations: 25.08 kB / 1.203 GB, free: 184 kB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004255/0.9047, allocations: 392.2 kB / 1.203 GB, free: 15.96 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9047, allocations: 0 / 1.203 GB, free: 15.96 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001151/0.9058, allocations: 311.2 kB / 1.204 GB, free: 15.89 MB / 1.042 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.0004186/0.9062, allocations: 205.6 kB / 1.204 GB, free: 15.75 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.9086, allocations: 1.417 MB / 1.205 GB, free: 14.92 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9086, allocations: 0 / 1.205 GB, free: 14.92 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.9097, allocations: 0.8566 MB / 1.206 GB, free: 14.38 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.9109, allocations: 348 kB / 1.206 GB, free: 14.2 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.9138, allocations: 1.651 MB / 1.208 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.9142, allocations: 393.4 kB / 1.208 GB, free: 12.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.9144, allocations: 66.28 kB / 1.209 GB, free: 12.88 MB / 1.042 GB Notification: Performance of SimCode: time 3.026e-06/0.9144, allocations: 0 / 1.209 GB, free: 12.88 MB / 1.042 GB Notification: Performance of Templates: time 0.02855/0.9429, allocations: 18.29 MB / 1.226 GB, free: 15.25 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.075321609154344]