Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0015/0.0015, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 191 kB / 17.2 MB, free: 5.609 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.555/1.555, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.5 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.411, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.9061/1.317, allocations: 166.9 MB / 1.181 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.333, allocations: 8.497 MB / 1.189 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/1.336, allocations: 36.94 kB / 1.189 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/1.338, allocations: 0.5612 MB / 1.19 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/1.344, allocations: 1.541 MB / 1.191 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/1.348, allocations: 0.9964 MB / 1.192 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006305/1.354, allocations: 4.093 MB / 1.196 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/1.356, allocations: 1.322 MB / 1.198 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/1.361, allocations: 1.493 MB / 1.199 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/1.364, allocations: 1.509 MB / 1.201 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/1.364, allocations: 186.4 kB / 1.201 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/1.367, allocations: 1.102 MB / 1.202 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007963/1.368, allocations: 0.6805 MB / 1.202 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/1.37, allocations: 1.029 MB / 1.203 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004531/1.374, allocations: 2.726 MB / 1.206 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.374, allocations: 0 / 1.206 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/1.374, allocations: 3.938 kB / 1.206 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.848e-05/1.374, allocations: 1.938 kB / 1.206 GB, free: 6.547 MB / 0.9044 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.005012/1.379, allocations: 2.265 MB / 1.208 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.379, allocations: 7.438 kB / 1.208 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/1.38, allocations: 195.7 kB / 1.209 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/1.382, allocations: 1.137 MB / 1.21 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.382, allocations: 119.4 kB / 1.21 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.382, allocations: 156.7 kB / 1.21 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/1.386, allocations: 1.913 MB / 1.212 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.386, allocations: 4 kB / 1.212 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.386, allocations: 64 kB / 1.212 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/1.386, allocations: 39.94 kB / 1.212 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/1.39, allocations: 2.471 MB / 1.214 GB, free: 188 kB / 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.009638/1.4, allocations: 6.151 MB / 1.22 GB, free: 9.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/1.404, allocations: 2.807 MB / 1.223 GB, free: 6.844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/1.406, allocations: 1.418 MB / 1.224 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.408, allocations: 1.738 MB / 1.226 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/1.408, allocations: 56.56 kB / 1.226 GB, free: 3.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 4.268e-06/1.408, allocations: 0 / 1.226 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.006235/1.414, allocations: 3.434 MB / 1.23 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.414, allocations: 81.39 kB / 1.23 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.416, allocations: 0.7743 MB / 1.23 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.416, allocations: 65.7 kB / 1.23 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/1.416, allocations: 490.2 kB / 1.231 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009002/1.417, allocations: 0.7891 MB / 1.232 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/1.418, allocations: 351.6 kB / 1.232 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.418, allocations: 301.1 kB / 1.232 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/1.42, allocations: 0.9058 MB / 1.233 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/1.422, allocations: 1.125 MB / 1.234 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.425, allocations: 2.227 MB / 1.236 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.425, allocations: 0 / 1.236 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004431/1.43, allocations: 2.432 MB / 1.239 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.43, allocations: 11.98 kB / 1.239 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.43, allocations: 5.125 kB / 1.239 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/1.43, allocations: 16.41 kB / 1.239 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.432, allocations: 435.4 kB / 1.239 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/1.432, allocations: 15.94 kB / 1.239 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.433, allocations: 158.4 kB / 1.239 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/1.433, allocations: 72.61 kB / 1.24 GB, free: 5.383 MB / 0.9356 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.0008308/1.434, allocations: 433.3 kB / 1.24 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/1.434, allocations: 150.2 kB / 1.24 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/1.439, allocations: 2.73 MB / 1.243 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.439, allocations: 20 kB / 1.243 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.439, allocations: 0 / 1.243 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003942/1.443, allocations: 2.386 MB / 1.245 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/1.451, allocations: 4.294 MB / 1.249 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.451, allocations: 11.88 kB / 1.249 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.453, allocations: 399.5 kB / 1.25 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006157/1.454, allocations: 105.6 kB / 1.25 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/1.454, allocations: 55.98 kB / 1.25 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009233/1.455, allocations: 1.117 MB / 1.251 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.455, allocations: 0 / 1.251 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007216/1.462, allocations: 4.069 MB / 1.255 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.463, allocations: 474.6 kB / 1.255 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/1.464, allocations: 47.98 kB / 1.255 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.465, allocations: 51.98 kB / 1.255 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/1.465, allocations: 137.8 kB / 1.256 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.465, allocations: 79.91 kB / 1.256 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001039/1.466, allocations: 0.5459 MB / 1.256 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/1.466, allocations: 0 / 1.256 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002229/1.469, allocations: 0.6514 MB / 1.257 GB, free: 3.402 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.001057/1.47, allocations: 395.8 kB / 1.257 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.48, allocations: 4.855 MB / 1.262 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.48, allocations: 0 / 1.262 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/1.483, allocations: 1.273 MB / 1.263 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/1.487, allocations: 0.5798 MB / 1.264 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/1.494, allocations: 3.863 MB / 1.268 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.496, allocations: 1.335 MB / 1.269 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.497, allocations: 187.3 kB / 1.269 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/1.497, allocations: 0 / 1.269 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of Templates: time 0.05812/1.555, allocations: 31.47 MB / 1.3 GB, free: 7.453 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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