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.001887/0.001887, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.00238/0.00238, allocations: 156.6 kB / 23 MB, free: 4.949 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.748/2.748, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.002233/0.002233, allocations: 67.89 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7706, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.216/0.9866, allocations: 193.4 MB / 1.343 GB, free: 7.219 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03421/1.021, allocations: 24.35 MB / 1.367 GB, free: 14.8 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/1.022, allocations: 39.69 kB / 1.367 GB, free: 14.76 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/1.025, allocations: 1.131 MB / 1.368 GB, free: 13.62 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008507/1.034, allocations: 3.228 MB / 1.371 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/1.039, allocations: 1.728 MB / 1.373 GB, free: 8.656 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005256/1.044, allocations: 3.834 MB / 1.376 GB, free: 4.812 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.046, allocations: 1.121 MB / 1.377 GB, free: 3.656 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004646/1.05, allocations: 2.413 MB / 1.38 GB, free: 1.234 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/1.053, allocations: 1.467 MB / 1.381 GB, free: 15.76 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/1.053, allocations: 128 kB / 1.381 GB, free: 15.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/1.056, allocations: 1.582 MB / 1.383 GB, free: 14.05 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008872/1.057, allocations: 0.8605 MB / 1.384 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/1.058, allocations: 0.9285 MB / 1.385 GB, free: 12.26 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004354/1.063, allocations: 2.972 MB / 1.387 GB, free: 9.273 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.063, allocations: 4 kB / 1.387 GB, free: 9.27 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.633e-06/1.063, allocations: 3.938 kB / 1.387 GB, free: 9.266 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.8e-05/1.063, allocations: 0 / 1.387 GB, free: 9.266 MB / 1.232 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.004386/1.067, allocations: 2.783 MB / 1.39 GB, free: 6.434 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.067, allocations: 12.03 kB / 1.39 GB, free: 6.422 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/1.069, allocations: 461.8 kB / 1.391 GB, free: 5.969 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.072, allocations: 1.44 MB / 1.392 GB, free: 4.473 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/1.072, allocations: 94.53 kB / 1.392 GB, free: 4.379 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/1.072, allocations: 128 kB / 1.392 GB, free: 4.254 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/1.074, allocations: 1.595 MB / 1.394 GB, free: 2.516 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/1.074, allocations: 7.938 kB / 1.394 GB, free: 2.508 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.074, allocations: 56 kB / 1.394 GB, free: 2.453 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/1.075, allocations: 93.95 kB / 1.394 GB, free: 2.359 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/1.077, allocations: 1.066 MB / 1.395 GB, free: 1.293 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007813/1.084, allocations: 6.163 MB / 1.401 GB, free: 10.93 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.085, allocations: 0.7028 MB / 1.402 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/1.086, allocations: 300.1 kB / 1.402 GB, free: 9.875 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/1.086, allocations: 87.92 kB / 1.402 GB, free: 9.789 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.086, allocations: 38.92 kB / 1.402 GB, free: 9.742 MB / 1.248 GB Notification: Performance of pre-optimization done (n=50): time 2.495e-06/1.086, allocations: 4 kB / 1.402 GB, free: 9.738 MB / 1.248 GB Notification: Performance of matching and sorting (n=50): time 0.001819/1.088, allocations: 0.9344 MB / 1.403 GB, free: 8.797 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.088, allocations: 170.2 kB / 1.403 GB, free: 8.594 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/1.092, allocations: 2.557 MB / 1.406 GB, free: 5.996 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/1.092, allocations: 33.7 kB / 1.406 GB, free: 5.957 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/1.093, allocations: 1.068 MB / 1.407 GB, free: 4.879 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.093, allocations: 190.4 kB / 1.407 GB, free: 4.691 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.093, allocations: 98.14 kB / 1.407 GB, free: 4.59 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.093, allocations: 326 kB / 1.407 GB, free: 4.266 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/1.094, allocations: 216.9 kB / 1.408 GB, free: 4.051 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/1.094, allocations: 369.8 kB / 1.408 GB, free: 3.648 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/1.095, allocations: 0.5599 MB / 1.408 GB, free: 3.055 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.095, allocations: 4 kB / 1.408 GB, free: 3.051 MB / 1.248 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001432/1.096, allocations: 0.7657 MB / 1.409 GB, free: 2.277 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.097, allocations: 4 kB / 1.409 GB, free: 2.273 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.097, allocations: 4 kB / 1.409 GB, free: 2.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.097, allocations: 7.938 kB / 1.409 GB, free: 2.262 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/1.097, allocations: 107.9 kB / 1.409 GB, free: 2.156 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.097, allocations: 7.938 kB / 1.409 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/1.098, allocations: 43.72 kB / 1.409 GB, free: 2.105 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/1.098, allocations: 20 kB / 1.409 GB, free: 2.086 MB / 1.248 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.0007823/1.098, allocations: 0.5366 MB / 1.41 GB, free: 1.539 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/1.099, allocations: 190.7 kB / 1.41 GB, free: 1.352 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/1.1, allocations: 0.7656 MB / 1.411 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.1, allocations: 4 kB / 1.411 GB, free: 0.582 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.1, allocations: 4 kB / 1.411 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.1, allocations: 3.984 kB / 1.411 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/1.103, allocations: 1.731 MB / 1.413 GB, free: 14.78 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.103, allocations: 4 kB / 1.413 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/1.103, allocations: 99.88 kB / 1.413 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.103, allocations: 4 kB / 1.413 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/1.104, allocations: 16 kB / 1.413 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.104, allocations: 4 kB / 1.413 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.104, allocations: 3.938 kB / 1.413 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.105, allocations: 1.232 MB / 1.414 GB, free: 13.38 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/1.106, allocations: 266.5 kB / 1.414 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.106, allocations: 8 kB / 1.414 GB, free: 13.11 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/1.107, allocations: 20.08 kB / 1.414 GB, free: 13.09 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/1.107, allocations: 48.3 kB / 1.414 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/1.107, allocations: 23.98 kB / 1.414 GB, free: 13.02 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002359/1.109, allocations: 1.832 MB / 1.416 GB, free: 11.17 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.109, allocations: 0 / 1.416 GB, free: 11.17 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001158/1.11, allocations: 0.5064 MB / 1.417 GB, free: 10.66 MB / 1.264 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.001782/1.112, allocations: 0.5481 MB / 1.417 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009961/1.113, allocations: 0.5263 MB / 1.418 GB, free: 9.738 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.113, allocations: 0 / 1.418 GB, free: 9.738 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/1.114, allocations: 279.5 kB / 1.418 GB, free: 9.465 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.115, allocations: 443.8 kB / 1.418 GB, free: 9.031 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/1.121, allocations: 4.168 MB / 1.422 GB, free: 4.801 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.123, allocations: 1.064 MB / 1.423 GB, free: 3.703 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001022/1.124, allocations: 373.2 kB / 1.424 GB, free: 3.332 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/1.124, allocations: 120.5 kB / 1.424 GB, free: 3.215 MB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/1.124, allocations: 0 / 1.424 GB, free: 3.215 MB / 1.264 GB Notification: Performance of Templates: time 0.04258/1.167, allocations: 21.06 MB / 1.444 GB, free: 14.56 MB / 1.295 GB " [Timeout remaining time 299] 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 -s ida -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: 13.079844616004266]