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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001011/0.001011, allocations: 96.14 kB / 16.03 MB, free: 68 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.001506/0.001506, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003932, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.806, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1983/1.004, allocations: 162.4 MB / 1.182 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01389/1.018, allocations: 8.459 MB / 1.191 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/1.02, allocations: 35.81 kB / 1.191 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/1.022, allocations: 489.4 kB / 1.191 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005131/1.028, allocations: 1.443 MB / 1.192 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/1.031, allocations: 0.8895 MB / 1.193 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006576/1.037, allocations: 5.4 MB / 1.199 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.039, allocations: 1.076 MB / 1.2 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/1.043, allocations: 1.261 MB / 1.201 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.046, allocations: 1.499 MB / 1.202 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005947/1.046, allocations: 88 kB / 1.202 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.049, allocations: 1.041 MB / 1.203 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009615/1.05, allocations: 0.5685 MB / 1.204 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/1.052, allocations: 0.9464 MB / 1.205 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003672/1.056, allocations: 2.018 MB / 1.207 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/1.056, allocations: 0 / 1.207 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.935e-06/1.056, allocations: 0 / 1.207 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001349/1.056, allocations: 0 / 1.207 GB, free: 3.543 MB / 0.9512 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.006478/1.063, allocations: 2.007 MB / 1.209 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.063, allocations: 8.031 kB / 1.209 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.064, allocations: 194.7 kB / 1.209 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/1.067, allocations: 1.177 MB / 1.21 GB, free: 60 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/1.067, allocations: 115.1 kB / 1.21 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/1.068, allocations: 151.9 kB / 1.21 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/1.071, allocations: 1.935 MB / 1.212 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/1.071, allocations: 0 / 1.212 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/1.071, allocations: 63.98 kB / 1.212 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/1.071, allocations: 36 kB / 1.212 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/1.076, allocations: 2.49 MB / 1.215 GB, free: 11.22 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.009627/1.085, allocations: 6.1 MB / 1.221 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/1.089, allocations: 2.825 MB / 1.224 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.091, allocations: 1.425 MB / 1.225 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/1.093, allocations: 1.73 MB / 1.227 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/1.093, allocations: 68.48 kB / 1.227 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 4.087e-06/1.093, allocations: 4 kB / 1.227 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.005929/1.099, allocations: 3.453 MB / 1.23 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/1.099, allocations: 73.41 kB / 1.23 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/1.101, allocations: 0.7665 MB / 1.231 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.101, allocations: 65.7 kB / 1.231 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/1.101, allocations: 490.2 kB / 1.231 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/1.102, allocations: 0.7892 MB / 1.232 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/1.102, allocations: 165.7 kB / 1.232 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.102, allocations: 309.1 kB / 1.233 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.104, allocations: 0.9019 MB / 1.234 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.106, allocations: 1.133 MB / 1.235 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/1.109, allocations: 2.243 MB / 1.237 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.109, allocations: 0 / 1.237 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004212/1.113, allocations: 2.448 MB / 1.239 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.113, allocations: 12 kB / 1.239 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.113, allocations: 4 kB / 1.239 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.114, allocations: 12 kB / 1.239 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.115, allocations: 439.4 kB / 1.24 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.154e-05/1.115, allocations: 19.92 kB / 1.24 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.117, allocations: 206.3 kB / 1.24 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.117, allocations: 71.98 kB / 1.24 GB, free: 0.5312 MB / 0.9825 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.0008791/1.118, allocations: 449.7 kB / 1.24 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/1.118, allocations: 146.2 kB / 1.241 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/1.123, allocations: 2.74 MB / 1.243 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.123, allocations: 28 kB / 1.243 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.123, allocations: 0 / 1.243 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003573/1.127, allocations: 2.393 MB / 1.246 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/1.134, allocations: 4.306 MB / 1.25 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.134, allocations: 3.938 kB / 1.25 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.136, allocations: 411.4 kB / 1.25 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/1.137, allocations: 97.69 kB / 1.25 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/1.137, allocations: 51.98 kB / 1.25 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/1.138, allocations: 1.124 MB / 1.251 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.138, allocations: 0 / 1.251 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006541/1.144, allocations: 4.085 MB / 1.255 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7933/1.938, allocations: 487.2 kB / 1.256 GB, free: 98.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007621/1.938, allocations: 40.84 kB / 1.256 GB, free: 98.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.94, allocations: 108 kB / 1.256 GB, free: 98.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/1.94, allocations: 138.8 kB / 1.256 GB, free: 98.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.94, allocations: 70.72 kB / 1.256 GB, free: 98.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001071/1.941, allocations: 0.5352 MB / 1.257 GB, free: 98.06 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.941, allocations: 0.7188 kB / 1.257 GB, free: 98.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002337/1.944, allocations: 0.6378 MB / 1.257 GB, free: 98.06 MB / 0.9981 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.0009091/1.945, allocations: 386.4 kB / 1.258 GB, free: 97.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004832/1.95, allocations: 2.331 MB / 1.26 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.95, allocations: 0 / 1.26 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.952, allocations: 1.29 MB / 1.261 GB, free: 97.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.955, allocations: 0.5449 MB / 1.262 GB, free: 97.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/1.963, allocations: 4.689 MB / 1.266 GB, free: 96.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.964, allocations: 1.335 MB / 1.268 GB, free: 95.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.965, allocations: 188.5 kB / 1.268 GB, free: 95.27 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.965, allocations: 1 kB / 1.268 GB, free: 95.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.05427/2.019, allocations: 31.05 MB / 1.298 GB, free: 88.12 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=480 -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