Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_9_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_9_Buildings.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8637, allocations: 140.3 MB / 0.9496 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2496/1.113, allocations: 215.9 MB / 1.16 GB, free: 9.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02919/1.143, allocations: 26.73 MB / 1.186 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/1.145, allocations: 31.75 kB / 1.187 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/1.148, allocations: 1.019 MB / 1.188 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008261/1.156, allocations: 2.946 MB / 1.19 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/1.161, allocations: 1.505 MB / 1.192 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006896/1.168, allocations: 5.832 MB / 1.198 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/1.17, allocations: 1.232 MB / 1.199 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005035/1.175, allocations: 2.07 MB / 1.201 GB, free: 116 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/1.178, allocations: 1.565 MB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005175/1.179, allocations: 84 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/1.183, allocations: 2.116 MB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/1.185, allocations: 0.8216 MB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.187, allocations: 1.103 MB / 1.206 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/1.19, allocations: 2.132 MB / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.19, allocations: 0 / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/1.19, allocations: 0 / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001131/1.191, allocations: 0 / 1.208 GB, free: 8.27 MB / 0.9669 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.00596/1.197, allocations: 2.775 MB / 1.211 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.197, allocations: 8.031 kB / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/1.199, allocations: 440.4 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/1.202, allocations: 1.467 MB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/1.202, allocations: 94.53 kB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/1.203, allocations: 124 kB / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/1.205, allocations: 1.595 MB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/1.206, allocations: 11.84 kB / 1.215 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.206, allocations: 55.98 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.206, allocations: 93.95 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/1.208, allocations: 1.065 MB / 1.216 GB, free: 276 kB / 0.9669 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.009595/1.217, allocations: 8.079 MB / 1.224 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.218, allocations: 0.7272 MB / 1.225 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/1.219, allocations: 316 kB / 1.225 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/1.219, allocations: 0.6013 MB / 1.225 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.219, allocations: 46.56 kB / 1.225 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/1.219, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.002009/1.221, allocations: 0.9755 MB / 1.226 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.222, allocations: 166.2 kB / 1.227 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/1.225, allocations: 3.092 MB / 1.23 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/1.226, allocations: 37.7 kB / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/1.226, allocations: 1.035 MB / 1.231 GB, free: 432 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/1.227, allocations: 185.2 kB / 1.231 GB, free: 244 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.227, allocations: 94.25 kB / 1.231 GB, free: 144 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.227, allocations: 322 kB / 1.231 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/1.227, allocations: 221 kB / 1.231 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/1.228, allocations: 322.9 kB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/1.229, allocations: 0.561 MB / 1.232 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.229, allocations: 4 kB / 1.232 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001501/1.23, allocations: 0.7913 MB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.23, allocations: 8.25 kB / 1.233 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.23, allocations: 7.938 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.23, allocations: 4 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/1.231, allocations: 103.9 kB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.231, allocations: 7.938 kB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.232, allocations: 150.8 kB / 1.233 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.232, allocations: 23.98 kB / 1.233 GB, free: 13.55 MB / 0.9981 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.0008609/1.233, allocations: 0.5365 MB / 1.234 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.233, allocations: 221.2 kB / 1.234 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.235, allocations: 0.7956 MB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.235, allocations: 11.94 kB / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.235, allocations: 0 / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.235, allocations: 7.984 kB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/1.238, allocations: 2.017 MB / 1.237 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.238, allocations: 4 kB / 1.237 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/1.238, allocations: 99.88 kB / 1.237 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.238, allocations: 4 kB / 1.237 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.238, allocations: 16 kB / 1.237 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.238, allocations: 4 kB / 1.237 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.238, allocations: 3.938 kB / 1.237 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.24, allocations: 1.262 MB / 1.238 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/1.241, allocations: 394 kB / 1.239 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.241, allocations: 15.98 kB / 1.239 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/1.242, allocations: 75.83 kB / 1.239 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/1.242, allocations: 44.27 kB / 1.239 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/1.242, allocations: 20 kB / 1.239 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002815/1.245, allocations: 2.215 MB / 1.241 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.245, allocations: 0 / 1.241 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001373/1.246, allocations: 463.1 kB / 1.241 GB, free: 5.207 MB / 0.9981 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.001457/1.248, allocations: 0.5302 MB / 1.242 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.249, allocations: 0.5413 MB / 1.242 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.249, allocations: 0 / 1.242 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/1.249, allocations: 291.2 kB / 1.243 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.253, allocations: 0.8214 MB / 1.243 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5316/1.784, allocations: 4.933 MB / 1.248 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/1.786, allocations: 1.615 MB / 1.25 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/1.787, allocations: 149.3 kB / 1.25 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.833e-06/1.787, allocations: 0 / 1.25 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06931/1.856, allocations: 33.05 MB / 1.282 GB, free: 268.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result: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],time