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.001367/0.001367, allocations: 92.7 kB / 16.02 MB, free: 80 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.001676/0.001676, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.611/1.611, allocations: 223.3 MB / 241 MB, free: 5.32 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.801/2.801, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 142.4 MB / 0.9557 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2678/1.284, allocations: 212.9 MB / 1.164 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03253/1.316, allocations: 26.36 MB / 1.189 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/1.318, allocations: 35.81 kB / 1.189 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/1.321, allocations: 1.007 MB / 1.19 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009069/1.33, allocations: 2.944 MB / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004789/1.335, allocations: 1.51 MB / 1.195 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007809/1.343, allocations: 5.832 MB / 1.2 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.345, allocations: 1.206 MB / 1.202 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/1.351, allocations: 2.058 MB / 1.204 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/1.354, allocations: 1.514 MB / 1.205 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/1.355, allocations: 76 kB / 1.205 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/1.36, allocations: 2.108 MB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008988/1.361, allocations: 0.7982 MB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.362, allocations: 1.112 MB / 1.209 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/1.365, allocations: 2.105 MB / 1.211 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.365, allocations: 0 / 1.211 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.565e-06/1.365, allocations: 0 / 1.211 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.138e-05/1.365, allocations: 0 / 1.211 GB, free: 8.82 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.003896/1.369, allocations: 2.391 MB / 1.214 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.369, allocations: 8.031 kB / 1.214 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/1.371, allocations: 440.3 kB / 1.214 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.373, allocations: 1.463 MB / 1.215 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/1.373, allocations: 94.53 kB / 1.215 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/1.374, allocations: 131.9 kB / 1.216 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/1.376, allocations: 1.599 MB / 1.217 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/1.376, allocations: 7.938 kB / 1.217 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.376, allocations: 52 kB / 1.217 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/1.376, allocations: 93.95 kB / 1.217 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/1.378, allocations: 1.075 MB / 1.218 GB, free: 1.199 MB / 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.008398/1.386, allocations: 8.102 MB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.387, allocations: 0.7233 MB / 1.227 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/1.388, allocations: 324 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/1.389, allocations: 0.6091 MB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.389, allocations: 42.5 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.186e-06/1.389, allocations: 0 / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.001807/1.39, allocations: 0.9834 MB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.391, allocations: 166.2 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/1.394, allocations: 3.092 MB / 1.232 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/1.395, allocations: 33.83 kB / 1.232 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009252/1.395, allocations: 1.043 MB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.396, allocations: 177.3 kB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/1.396, allocations: 49.69 kB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.396, allocations: 322 kB / 1.234 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/1.396, allocations: 225 kB / 1.234 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/1.397, allocations: 326.8 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/1.398, allocations: 0.5728 MB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.398, allocations: 4 kB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001418/1.399, allocations: 0.8109 MB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.399, allocations: 4 kB / 1.236 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.399, allocations: 7.938 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.399, allocations: 4 kB / 1.236 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/1.4, allocations: 107.8 kB / 1.236 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.4, allocations: 4 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.401, allocations: 159.1 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/1.401, allocations: 16 kB / 1.236 GB, free: 14.45 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.0008693/1.402, allocations: 0.5443 MB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/1.402, allocations: 225.2 kB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/1.403, allocations: 0.815 MB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.403, allocations: 8 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.403, allocations: 0 / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.403, allocations: 4 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/1.406, allocations: 2.024 MB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.407, allocations: 0 / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/1.407, allocations: 99.89 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/1.407, allocations: 4 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.407, allocations: 12 kB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.407, allocations: 7.938 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.407, allocations: 4 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/1.409, allocations: 1.282 MB / 1.241 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/1.409, allocations: 398 kB / 1.241 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.41, allocations: 12 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/1.41, allocations: 79.92 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/1.411, allocations: 44.31 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/1.411, allocations: 19.94 kB / 1.241 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002814/1.413, allocations: 2.219 MB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.413, allocations: 0 / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001328/1.415, allocations: 471 kB / 1.244 GB, free: 6.051 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.001442/1.416, allocations: 0.5268 MB / 1.244 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.417, allocations: 0.5453 MB / 1.245 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.417, allocations: 0 / 1.245 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/1.418, allocations: 299.2 kB / 1.245 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/1.422, allocations: 0.8253 MB / 1.246 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6245/2.047, allocations: 5.04 MB / 1.251 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/2.049, allocations: 1.613 MB / 1.252 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/2.049, allocations: 148 kB / 1.253 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/2.049, allocations: 0 / 1.253 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07785/2.127, allocations: 32.66 MB / 1.285 GB, free: 268.2 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