Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 92.16 kB / 16.02 MB, free: 76 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.001851/0.001852, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.636/1.636, allocations: 223.3 MB / 241 MB, free: 5.344 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.594/2.594, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9177, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2022/1.12, allocations: 162.4 MB / 1.114 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01378/1.134, allocations: 8.459 MB / 1.123 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.136, allocations: 35.75 kB / 1.123 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/1.138, allocations: 493.4 kB / 1.123 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/1.143, allocations: 1.443 MB / 1.124 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/1.146, allocations: 0.888 MB / 1.125 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00702/1.153, allocations: 5.389 MB / 1.131 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/1.156, allocations: 1.087 MB / 1.132 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/1.159, allocations: 1.253 MB / 1.133 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/1.161, allocations: 1.499 MB / 1.134 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/1.162, allocations: 88 kB / 1.134 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/1.165, allocations: 1.045 MB / 1.135 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006514/1.165, allocations: 0.5685 MB / 1.136 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.167, allocations: 0.9386 MB / 1.137 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/1.169, allocations: 2.022 MB / 1.139 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.169, allocations: 0 / 1.139 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.717e-06/1.169, allocations: 0 / 1.139 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.622e-05/1.17, allocations: 4 kB / 1.139 GB, free: 3.109 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004874/1.174, allocations: 2.005 MB / 1.141 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.174, allocations: 8.031 kB / 1.141 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/1.175, allocations: 198.7 kB / 1.141 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/1.177, allocations: 1.181 MB / 1.142 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.177, allocations: 111 kB / 1.142 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/1.178, allocations: 151.8 kB / 1.142 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/1.181, allocations: 1.935 MB / 1.144 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/1.181, allocations: 3.984 kB / 1.144 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.181, allocations: 60 kB / 1.144 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/1.181, allocations: 40 kB / 1.144 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/1.185, allocations: 2.49 MB / 1.147 GB, free: 10.79 MB / 0.9044 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.009756/1.195, allocations: 6.104 MB / 1.153 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/1.199, allocations: 2.81 MB / 1.156 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/1.202, allocations: 1.425 MB / 1.157 GB, free: 60 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001994/1.204, allocations: 1.734 MB / 1.159 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.402e-05/1.204, allocations: 64.56 kB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 7.063e-06/1.204, allocations: 3.984 kB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.006863/1.211, allocations: 3.457 MB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.211, allocations: 77.41 kB / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.212, allocations: 0.7626 MB / 1.163 GB, free: 9.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/1.212, allocations: 65.7 kB / 1.163 GB, free: 9.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/1.213, allocations: 486.2 kB / 1.163 GB, free: 8.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/1.214, allocations: 0.7892 MB / 1.164 GB, free: 8.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/1.214, allocations: 169.7 kB / 1.164 GB, free: 7.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.214, allocations: 301.1 kB / 1.165 GB, free: 7.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/1.216, allocations: 0.9097 MB / 1.166 GB, free: 6.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/1.218, allocations: 1.129 MB / 1.167 GB, free: 5.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/1.222, allocations: 2.239 MB / 1.169 GB, free: 3.309 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.222, allocations: 0 / 1.169 GB, free: 3.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004616/1.226, allocations: 2.448 MB / 1.171 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.226, allocations: 7.938 kB / 1.171 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.226, allocations: 4 kB / 1.171 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/1.226, allocations: 12 kB / 1.171 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.228, allocations: 447.6 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.537e-05/1.228, allocations: 15.94 kB / 1.172 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.23, allocations: 210.3 kB / 1.172 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/1.23, allocations: 79.98 kB / 1.172 GB, free: 92 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.00103/1.231, allocations: 441.2 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/1.232, allocations: 146.2 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/1.237, allocations: 2.74 MB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.237, allocations: 24 kB / 1.175 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/1.237, allocations: 0 / 1.175 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003837/1.241, allocations: 2.397 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/1.249, allocations: 4.302 MB / 1.182 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.249, allocations: 64 / 1.182 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.251, allocations: 419.4 kB / 1.182 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006374/1.251, allocations: 101.6 kB / 1.182 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/1.251, allocations: 47.98 kB / 1.182 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007806/1.252, allocations: 1.12 MB / 1.183 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.252, allocations: 0 / 1.183 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006546/1.259, allocations: 4.085 MB / 1.187 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.26, allocations: 490.5 kB / 1.188 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/1.26, allocations: 44 kB / 1.188 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.262, allocations: 107.9 kB / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.262, allocations: 133.8 kB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.262, allocations: 71.97 kB / 1.188 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009185/1.263, allocations: 0.5381 MB / 1.189 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.263, allocations: 0 / 1.189 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001939/1.265, allocations: 0.6552 MB / 1.189 GB, free: 14 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009352/1.266, allocations: 374.7 kB / 1.19 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004066/1.27, allocations: 2.333 MB / 1.192 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.27, allocations: 4 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/1.272, allocations: 1.285 MB / 1.193 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.276, allocations: 0.5528 MB / 1.194 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/1.283, allocations: 4.692 MB / 1.198 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.284, allocations: 1.343 MB / 1.2 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.285, allocations: 191.3 kB / 1.2 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of SimCode: time 1.112e-06/1.285, allocations: 0 / 1.2 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of Templates: time 0.04946/1.335, allocations: 31.04 MB / 1.23 GB, free: 4.191 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time