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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00163/0.001631, allocations: 108 kB / 15.61 MB, free: 152 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.00197/0.00197, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.09 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8445, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2567/1.101, allocations: 218.2 MB / 1.163 GB, free: 6.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03269/1.134, allocations: 26.47 MB / 1.188 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/1.137, allocations: 31.81 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003477/1.14, allocations: 1.15 MB / 1.19 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009157/1.149, allocations: 3.133 MB / 1.193 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004935/1.154, allocations: 1.655 MB / 1.194 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006105/1.16, allocations: 3.852 MB / 1.198 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/1.163, allocations: 1.448 MB / 1.199 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/1.169, allocations: 2.269 MB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/1.172, allocations: 1.483 MB / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/1.173, allocations: 124 kB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005533/1.178, allocations: 1.781 MB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/1.179, allocations: 0.849 MB / 1.206 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/1.181, allocations: 1.146 MB / 1.207 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/1.187, allocations: 2.893 MB / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.187, allocations: 0 / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/1.187, allocations: 0 / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.017e-05/1.187, allocations: 0 / 1.21 GB, free: 6.434 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.004867/1.192, allocations: 2.772 MB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.192, allocations: 12.03 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.194, allocations: 440.4 kB / 1.213 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/1.196, allocations: 1.471 MB / 1.214 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/1.196, allocations: 94.53 kB / 1.214 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/1.197, allocations: 124 kB / 1.215 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/1.199, allocations: 1.599 MB / 1.216 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.199, allocations: 7.844 kB / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/1.199, allocations: 59.98 kB / 1.216 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-05/1.199, allocations: 85.95 kB / 1.216 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.201, allocations: 1.061 MB / 1.217 GB, free: 14.44 MB / 0.9825 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.009916/1.211, allocations: 8.145 MB / 1.225 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/1.212, allocations: 0.7233 MB / 1.226 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/1.213, allocations: 308 kB / 1.226 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/1.213, allocations: 0.613 MB / 1.227 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.213, allocations: 42.55 kB / 1.227 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.577e-06/1.213, allocations: 4 kB / 1.227 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.00211/1.215, allocations: 0.9634 MB / 1.228 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.216, allocations: 162.2 kB / 1.228 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/1.22, allocations: 3.092 MB / 1.231 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.22, allocations: 41.7 kB / 1.231 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.221, allocations: 1.043 MB / 1.232 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/1.222, allocations: 185.3 kB / 1.232 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.222, allocations: 86.25 kB / 1.232 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.222, allocations: 326 kB / 1.233 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/1.222, allocations: 221 kB / 1.233 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/1.223, allocations: 314.9 kB / 1.233 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/1.224, allocations: 0.5687 MB / 1.234 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.224, allocations: 0 / 1.234 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001735/1.226, allocations: 0.7874 MB / 1.234 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.226, allocations: 11.94 kB / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.226, allocations: 3.938 kB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.226, allocations: 8 kB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/1.226, allocations: 99.89 kB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/1.226, allocations: 16.17 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.227, allocations: 90.88 kB / 1.235 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/1.227, allocations: 23.98 kB / 1.235 GB, free: 11.73 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.001049/1.228, allocations: 0.5365 MB / 1.235 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/1.229, allocations: 221.2 kB / 1.235 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.231, allocations: 0.8033 MB / 1.236 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.231, allocations: 4 kB / 1.236 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.231, allocations: 4 kB / 1.236 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.231, allocations: 3.984 kB / 1.236 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/1.235, allocations: 2.02 MB / 1.238 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.235, allocations: 3.938 kB / 1.238 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/1.235, allocations: 99.88 kB / 1.238 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.235, allocations: 4 kB / 1.238 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/1.235, allocations: 16 kB / 1.238 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.235, allocations: 4 kB / 1.238 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.235, allocations: 4 kB / 1.238 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.237, allocations: 1.266 MB / 1.24 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.239, allocations: 390 kB / 1.24 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/1.239, allocations: 15.98 kB / 1.24 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.24, allocations: 16 kB / 1.24 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.24, allocations: 44.27 kB / 1.24 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.24, allocations: 19.98 kB / 1.24 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00389/1.244, allocations: 2.215 MB / 1.242 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.244, allocations: 8 kB / 1.242 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001654/1.246, allocations: 463.1 kB / 1.243 GB, free: 3.43 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.001493/1.247, allocations: 0.5273 MB / 1.243 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.249, allocations: 0.608 MB / 1.244 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.249, allocations: 4.188 kB / 1.244 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/1.249, allocations: 294.3 kB / 1.244 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.254, allocations: 0.8499 MB / 1.245 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5559/1.81, allocations: 4.258 MB / 1.249 GB, free: 285.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.812, allocations: 1.635 MB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00196/1.814, allocations: 450.8 kB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/1.814, allocations: 143 kB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.153e-06/1.814, allocations: 0 / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06769/1.882, allocations: 32.18 MB / 1.283 GB, free: 269.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches