Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.002068/0.002068, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002809/0.002809, allocations: 216 kB / 23.04 MB, free: 4.852 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 68.09 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4938, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2665/0.7603, allocations: 193.4 MB / 1.516 GB, free: 14.83 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03955/0.7998, allocations: 24.33 MB / 1.54 GB, free: 6.426 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.8029, allocations: 39.69 kB / 1.54 GB, free: 6.387 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.8071, allocations: 1.135 MB / 1.541 GB, free: 5.246 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.8183, allocations: 3.223 MB / 1.544 GB, free: 2.012 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005665/0.824, allocations: 1.726 MB / 1.546 GB, free: 296 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007538/0.8315, allocations: 3.844 MB / 1.549 GB, free: 12.43 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.8343, allocations: 1.121 MB / 1.551 GB, free: 11.28 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/0.8412, allocations: 2.397 MB / 1.553 GB, free: 8.871 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003649/0.8448, allocations: 1.475 MB / 1.554 GB, free: 7.391 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.8452, allocations: 128 kB / 1.554 GB, free: 7.266 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.85, allocations: 1.574 MB / 1.556 GB, free: 5.688 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.8511, allocations: 0.8682 MB / 1.557 GB, free: 4.816 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.8528, allocations: 0.9325 MB / 1.558 GB, free: 3.879 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.8592, allocations: 2.961 MB / 1.561 GB, free: 0.9062 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.8592, allocations: 3.984 kB / 1.561 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8592, allocations: 0 / 1.561 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.228e-05/0.8592, allocations: 0 / 1.561 GB, free: 0.9023 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005322/0.8646, allocations: 2.797 MB / 1.563 GB, free: 14.06 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001021/0.8647, allocations: 16.02 kB / 1.563 GB, free: 14.04 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.8666, allocations: 453.9 kB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.8693, allocations: 1.432 MB / 1.565 GB, free: 12.11 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/0.8694, allocations: 94.53 kB / 1.565 GB, free: 12.02 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.8696, allocations: 135.9 kB / 1.565 GB, free: 11.88 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.8723, allocations: 1.591 MB / 1.567 GB, free: 10.15 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.8723, allocations: 7.938 kB / 1.567 GB, free: 10.14 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.8724, allocations: 56 kB / 1.567 GB, free: 10.09 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.8726, allocations: 97.83 kB / 1.567 GB, free: 9.988 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.8745, allocations: 1.062 MB / 1.568 GB, free: 8.926 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008526/0.883, allocations: 6.159 MB / 1.574 GB, free: 2.566 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.8841, allocations: 0.709 MB / 1.575 GB, free: 1.812 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.8846, allocations: 292.1 kB / 1.575 GB, free: 1.512 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/0.8849, allocations: 87.94 kB / 1.575 GB, free: 1.426 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.885, allocations: 42.5 kB / 1.575 GB, free: 1.375 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.885, allocations: 0 / 1.575 GB, free: 1.375 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.001757/0.8867, allocations: 0.9391 MB / 1.576 GB, free: 440 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8869, allocations: 166.2 kB / 1.576 GB, free: 236 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.8903, allocations: 2.554 MB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.8904, allocations: 37.7 kB / 1.579 GB, free: 13.59 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009731/0.8914, allocations: 1.064 MB / 1.58 GB, free: 12.52 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.8916, allocations: 190.4 kB / 1.58 GB, free: 12.33 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.8918, allocations: 94.14 kB / 1.58 GB, free: 12.23 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.892, allocations: 330 kB / 1.581 GB, free: 11.91 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.8923, allocations: 220.8 kB / 1.581 GB, free: 11.69 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.8929, allocations: 377.7 kB / 1.581 GB, free: 11.28 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.8938, allocations: 0.5522 MB / 1.582 GB, free: 10.69 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.8938, allocations: 4.031 kB / 1.582 GB, free: 10.69 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001497/0.8953, allocations: 0.7615 MB / 1.582 GB, free: 9.918 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.8953, allocations: 9.875 kB / 1.582 GB, free: 9.91 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8953, allocations: 4 kB / 1.582 GB, free: 9.906 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.8953, allocations: 11.94 kB / 1.582 GB, free: 9.895 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.8958, allocations: 108.1 kB / 1.583 GB, free: 9.789 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.8958, allocations: 7.984 kB / 1.583 GB, free: 9.781 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.8965, allocations: 39.73 kB / 1.583 GB, free: 9.742 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.8966, allocations: 28.09 kB / 1.583 GB, free: 9.715 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.8976, allocations: 0.5443 MB / 1.583 GB, free: 9.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/0.898, allocations: 190.7 kB / 1.583 GB, free: 8.973 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8993, allocations: 0.7525 MB / 1.584 GB, free: 8.211 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.8994, allocations: 16 kB / 1.584 GB, free: 8.195 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8994, allocations: 0 / 1.584 GB, free: 8.195 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.8994, allocations: 3.984 kB / 1.584 GB, free: 8.191 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.9026, allocations: 1.727 MB / 1.586 GB, free: 6.402 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.9026, allocations: 0 / 1.586 GB, free: 6.402 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.903, allocations: 99.83 kB / 1.586 GB, free: 6.305 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.903, allocations: 4.188 kB / 1.586 GB, free: 6.301 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.9031, allocations: 23.98 kB / 1.586 GB, free: 6.277 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.9031, allocations: 4 kB / 1.586 GB, free: 6.273 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9031, allocations: 4 kB / 1.586 GB, free: 6.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.905, allocations: 1.229 MB / 1.587 GB, free: 5.004 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.9056, allocations: 270.5 kB / 1.587 GB, free: 4.738 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.9057, allocations: 8 kB / 1.587 GB, free: 4.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.9062, allocations: 23.98 kB / 1.587 GB, free: 4.707 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.9063, allocations: 40.31 kB / 1.587 GB, free: 4.668 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.9063, allocations: 16 kB / 1.587 GB, free: 4.652 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002623/0.909, allocations: 1.836 MB / 1.589 GB, free: 2.797 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.909, allocations: 0 / 1.589 GB, free: 2.797 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001516/0.9105, allocations: 0.5064 MB / 1.59 GB, free: 2.289 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.9123, allocations: 0.5444 MB / 1.59 GB, free: 1.895 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.9135, allocations: 0.5181 MB / 1.591 GB, free: 1.375 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.9135, allocations: 4.062 kB / 1.591 GB, free: 1.371 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.914, allocations: 282.2 kB / 1.591 GB, free: 1.098 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.916, allocations: 445.5 kB / 1.591 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/0.9231, allocations: 4.209 MB / 1.596 GB, free: 12.39 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.9244, allocations: 1.043 MB / 1.597 GB, free: 11.31 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.9249, allocations: 119.4 kB / 1.597 GB, free: 11.19 MB / 1.295 GB Notification: Performance of SimCode: time 1.392e-06/0.9249, allocations: 0 / 1.597 GB, free: 11.19 MB / 1.295 GB Notification: Performance of Templates: time 0.8378/1.763, allocations: 28.83 MB / 1.625 GB, free: 269.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 16.587410868844017]