Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.849/2.849, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 75.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8131, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2417/1.055, allocations: 193.5 MB / 1.376 GB, free: 4.184 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02799/1.083, allocations: 18.91 MB / 1.394 GB, free: 1.215 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/1.085, allocations: 75.44 kB / 1.394 GB, free: 1.141 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003184/1.088, allocations: 1.181 MB / 1.395 GB, free: 15.95 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/1.099, allocations: 4.266 MB / 1.399 GB, free: 11.67 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/1.103, allocations: 1.564 MB / 1.401 GB, free: 10.11 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.009225/1.112, allocations: 7.087 MB / 1.408 GB, free: 3 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/1.115, allocations: 1.794 MB / 1.41 GB, free: 1.16 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/1.12, allocations: 2.598 MB / 1.412 GB, free: 14.55 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/1.125, allocations: 2.479 MB / 1.415 GB, free: 12.07 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0007843/1.125, allocations: 344 kB / 1.415 GB, free: 11.74 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006736/1.132, allocations: 2.868 MB / 1.418 GB, free: 8.867 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001816/1.134, allocations: 1.426 MB / 1.419 GB, free: 7.438 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002602/1.137, allocations: 1.568 MB / 1.421 GB, free: 5.863 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00903/1.146, allocations: 5.692 MB / 1.426 GB, free: 164 kB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.146, allocations: 0 / 1.426 GB, free: 164 kB / 1.264 GB Notification: Performance of FrontEnd: time 1.713e-06/1.146, allocations: 4 kB / 1.426 GB, free: 160 kB / 1.264 GB Notification: Performance of Transformations before backend: time 7.672e-05/1.146, allocations: 0 / 1.426 GB, free: 160 kB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.009459/1.155, allocations: 3.853 MB / 1.43 GB, free: 12.25 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.155, allocations: 12.03 kB / 1.43 GB, free: 12.24 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/1.172, allocations: 1.894 MB / 1.432 GB, free: 10.34 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/1.177, allocations: 1.887 MB / 1.434 GB, free: 8.402 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/1.177, allocations: 225.4 kB / 1.434 GB, free: 8.18 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/1.178, allocations: 275.9 kB / 1.434 GB, free: 7.91 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009282/1.187, allocations: 4.766 MB / 1.439 GB, free: 3.012 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/1.187, allocations: 3.953 kB / 1.439 GB, free: 3.008 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/1.188, allocations: 116 kB / 1.439 GB, free: 2.895 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/1.188, allocations: 189.8 kB / 1.439 GB, free: 2.707 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/1.201, allocations: 6.284 MB / 1.445 GB, free: 12.41 MB / 1.295 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.02111/1.222, allocations: 9.116 MB / 1.454 GB, free: 3.23 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.233, allocations: 5.722 MB / 1.46 GB, free: 13.47 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005824/1.239, allocations: 2.883 MB / 1.463 GB, free: 10.58 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/1.239, allocations: 71.05 kB / 1.463 GB, free: 10.51 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.863e-05/1.239, allocations: 77.7 kB / 1.463 GB, free: 10.43 MB / 1.311 GB Notification: Performance of pre-optimization done (n=399): time 6.813e-06/1.239, allocations: 0 / 1.463 GB, free: 10.43 MB / 1.311 GB Notification: Performance of matching and sorting (n=399): time 0.01669/1.256, allocations: 7.566 MB / 1.47 GB, free: 2.828 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.256, allocations: 94.55 kB / 1.47 GB, free: 2.723 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.258, allocations: 1.301 MB / 1.471 GB, free: 1.414 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/1.258, allocations: 93.7 kB / 1.472 GB, free: 1.316 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007862/1.259, allocations: 0.957 MB / 1.472 GB, free: 360 kB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.26, allocations: 1.41 MB / 1.474 GB, free: 14.93 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.262, allocations: 0.6617 MB / 1.474 GB, free: 14.26 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.262, allocations: 305.1 kB / 1.475 GB, free: 13.96 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/1.267, allocations: 2.44 MB / 1.477 GB, free: 11.52 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005362/1.272, allocations: 2.763 MB / 1.48 GB, free: 8.719 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.283, allocations: 5.299 MB / 1.485 GB, free: 3.367 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.283, allocations: 4 kB / 1.485 GB, free: 3.363 MB / 1.326 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01288/1.296, allocations: 5.918 MB / 1.491 GB, free: 13.43 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.296, allocations: 7.938 kB / 1.491 GB, free: 13.43 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.296, allocations: 4 kB / 1.491 GB, free: 13.42 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/1.296, allocations: 20 kB / 1.491 GB, free: 13.4 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/1.302, allocations: 0.905 MB / 1.492 GB, free: 12.5 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.857e-05/1.302, allocations: 31.86 kB / 1.492 GB, free: 12.46 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.307, allocations: 429.4 kB / 1.492 GB, free: 12.04 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/1.308, allocations: 132 kB / 1.492 GB, free: 11.91 MB / 1.342 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 (493): * Single equations (assignments): 493 * 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.001896/1.31, allocations: 0.7468 MB / 1.493 GB, free: 11.16 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/1.311, allocations: 258.3 kB / 1.493 GB, free: 10.9 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.312, allocations: 416.9 kB / 1.494 GB, free: 10.48 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.312, allocations: 40 kB / 1.494 GB, free: 10.45 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/1.312, allocations: 0 / 1.494 GB, free: 10.45 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01132/1.323, allocations: 5.113 MB / 1.499 GB, free: 5.273 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/1.344, allocations: 9.175 MB / 1.508 GB, free: 12.03 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.344, allocations: 3.938 kB / 1.508 GB, free: 12.02 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005663/1.35, allocations: 0.7919 MB / 1.508 GB, free: 11.23 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/1.351, allocations: 146.4 kB / 1.509 GB, free: 11.08 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/1.351, allocations: 87.95 kB / 1.509 GB, free: 10.99 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/1.356, allocations: 4.669 MB / 1.513 GB, free: 6.02 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.356, allocations: 0 / 1.513 GB, free: 6.02 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.375, allocations: 8.905 MB / 1.522 GB, free: 13.06 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.377, allocations: 0.8019 MB / 1.523 GB, free: 12.25 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.378, allocations: 71.92 kB / 1.523 GB, free: 12.18 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.382, allocations: 214.4 kB / 1.523 GB, free: 11.98 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/1.383, allocations: 226.7 kB / 1.523 GB, free: 11.75 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004035/1.383, allocations: 119.9 kB / 1.523 GB, free: 11.64 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001423/1.385, allocations: 0.8564 MB / 1.524 GB, free: 10.78 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.2e-07/1.385, allocations: 3.938 kB / 1.524 GB, free: 10.77 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003164/1.388, allocations: 1.221 MB / 1.525 GB, free: 9.551 MB / 1.373 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.0007075/1.388, allocations: 299.1 kB / 1.526 GB, free: 9.246 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.4, allocations: 5.322 MB / 1.531 GB, free: 3.914 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.4, allocations: 0.8125 kB / 1.531 GB, free: 3.914 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.406, allocations: 2.973 MB / 1.534 GB, free: 0.9023 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005387/1.412, allocations: 1.071 MB / 1.535 GB, free: 15.84 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.427, allocations: 7.705 MB / 1.542 GB, free: 8.086 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/1.429, allocations: 1.366 MB / 1.544 GB, free: 6.684 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.006504/1.436, allocations: 1.533 MB / 1.545 GB, free: 5.145 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/1.438, allocations: 260.4 kB / 1.545 GB, free: 4.887 MB / 1.389 GB Notification: Performance of SimCode: time 7.32e-07/1.438, allocations: 0 / 1.545 GB, free: 4.887 MB / 1.389 GB Notification: Performance of Templates: time 0.1068/1.545, allocations: 62.82 MB / 1.607 GB, free: 6.957 MB / 1.451 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.465138128958642]