Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.00141/0.00141, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.656/1.656, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.713/2.713, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465/1.466, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5128/1.979, allocations: 218.5 MB / 1.302 GB, free: 3.004 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03325/2.012, allocations: 20.42 MB / 1.322 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/2.017, allocations: 59.75 kB / 1.322 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004612/2.021, allocations: 1.294 MB / 1.323 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01527/2.037, allocations: 4.201 MB / 1.327 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006936/2.044, allocations: 1.561 MB / 1.329 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01329/2.057, allocations: 6.976 MB / 1.336 GB, free: 400 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/2.062, allocations: 2.36 MB / 1.338 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005885/2.067, allocations: 2.422 MB / 1.34 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/2.074, allocations: 2.453 MB / 1.343 GB, free: 9.098 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000858/2.074, allocations: 344 kB / 1.343 GB, free: 8.762 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008415/2.083, allocations: 3.488 MB / 1.347 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001835/2.085, allocations: 1.454 MB / 1.348 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/2.088, allocations: 1.867 MB / 1.35 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/2.098, allocations: 5.767 MB / 1.355 GB, free: 12.15 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/2.098, allocations: 0 / 1.355 GB, free: 12.15 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/2.098, allocations: 0 / 1.355 GB, free: 12.15 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.873e-05/2.098, allocations: 0 / 1.355 GB, free: 12.15 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.00967/2.108, allocations: 3.952 MB / 1.359 GB, free: 8.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/2.108, allocations: 12.03 kB / 1.359 GB, free: 8.125 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/2.112, allocations: 0.8236 MB / 1.36 GB, free: 7.297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/2.117, allocations: 1.933 MB / 1.362 GB, free: 5.305 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/2.117, allocations: 205.4 kB / 1.362 GB, free: 5.102 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/2.117, allocations: 279.8 kB / 1.362 GB, free: 4.828 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005824/2.123, allocations: 3.271 MB / 1.366 GB, free: 1.516 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/2.123, allocations: 4 kB / 1.366 GB, free: 1.512 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/2.123, allocations: 112 kB / 1.366 GB, free: 1.402 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/2.123, allocations: 125.4 kB / 1.366 GB, free: 1.277 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007006/2.13, allocations: 4.627 MB / 1.37 GB, free: 12.64 MB / 1.107 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.01604/2.147, allocations: 10.93 MB / 1.381 GB, free: 1.031 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/2.153, allocations: 4.854 MB / 1.386 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/2.156, allocations: 2.531 MB / 1.388 GB, free: 9.602 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/2.157, allocations: 0.8605 MB / 1.389 GB, free: 8.574 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/2.157, allocations: 85.64 kB / 1.389 GB, free: 8.48 MB / 1.123 GB Notification: Performance of pre-optimization done (n=399): time 4.329e-06/2.157, allocations: 0 / 1.389 GB, free: 8.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=399): time 0.009791/2.167, allocations: 6.026 MB / 1.395 GB, free: 2.367 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/2.167, allocations: 90.55 kB / 1.395 GB, free: 2.266 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/2.17, allocations: 1.228 MB / 1.396 GB, free: 1.031 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005015/2.17, allocations: 89.7 kB / 1.396 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008627/2.171, allocations: 0.8096 MB / 1.397 GB, free: 120 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/2.173, allocations: 1.336 MB / 1.399 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/2.174, allocations: 0.5468 MB / 1.399 GB, free: 14.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001832/2.175, allocations: 309.1 kB / 1.399 GB, free: 13.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/2.178, allocations: 1.603 MB / 1.401 GB, free: 12.29 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/2.181, allocations: 1.909 MB / 1.403 GB, free: 10.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006323/2.187, allocations: 3.827 MB / 1.406 GB, free: 6.453 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/2.187, allocations: 3.938 kB / 1.407 GB, free: 6.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007088/2.195, allocations: 4.199 MB / 1.411 GB, free: 2.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/2.195, allocations: 8 kB / 1.411 GB, free: 2.219 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/2.195, allocations: 4 kB / 1.411 GB, free: 2.215 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/2.195, allocations: 16.41 kB / 1.411 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/2.198, allocations: 0.6788 MB / 1.411 GB, free: 1.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.753e-05/2.198, allocations: 19.94 kB / 1.411 GB, free: 1.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/2.201, allocations: 241.3 kB / 1.412 GB, free: 1.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/2.201, allocations: 120 kB / 1.412 GB, free: 1.145 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001625/2.202, allocations: 0.7196 MB / 1.412 GB, free: 424 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/2.203, allocations: 245.1 kB / 1.413 GB, free: 176 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008443/2.211, allocations: 4.634 MB / 1.417 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/2.211, allocations: 40 kB / 1.417 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.211, allocations: 4 kB / 1.417 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006255/2.218, allocations: 3.961 MB / 1.421 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/2.231, allocations: 8.269 MB / 1.429 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/2.231, allocations: 0 / 1.429 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/2.233, allocations: 0.6592 MB / 1.43 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/2.234, allocations: 146.4 kB / 1.43 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/2.234, allocations: 79.98 kB / 1.43 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/2.239, allocations: 5.043 MB / 1.435 GB, free: 8.723 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/2.239, allocations: 3.938 kB / 1.435 GB, free: 8.719 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/2.25, allocations: 6.823 MB / 1.442 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/2.252, allocations: 0.7627 MB / 1.442 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007909/2.253, allocations: 67.98 kB / 1.442 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/2.255, allocations: 89.62 kB / 1.442 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005226/2.256, allocations: 222.8 kB / 1.443 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/2.256, allocations: 116 kB / 1.443 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001958/2.258, allocations: 0.8645 MB / 1.444 GB, free: 15.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.61e-07/2.258, allocations: 4 kB / 1.444 GB, free: 15.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003651/2.262, allocations: 1.061 MB / 1.445 GB, free: 14.64 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008927/2.263, allocations: 348.1 kB / 1.445 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006968/2.27, allocations: 4.055 MB / 1.449 GB, free: 10.22 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/2.27, allocations: 8.188 kB / 1.449 GB, free: 10.21 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/2.273, allocations: 2.551 MB / 1.451 GB, free: 7.625 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/2.279, allocations: 1.072 MB / 1.452 GB, free: 6.566 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/2.29, allocations: 6.743 MB / 1.459 GB, free: 15.77 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/2.292, allocations: 1.935 MB / 1.461 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/2.294, allocations: 279.4 kB / 1.461 GB, free: 13.52 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/2.294, allocations: 4 kB / 1.461 GB, free: 13.52 MB / 1.201 GB Notification: Performance of Templates: time 0.09259/2.386, allocations: 58.35 MB / 1.518 GB, free: 3.281 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches