Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001526/0.001526, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 68.11 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7638, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2093/0.9732, allocations: 204.2 MB / 1.367 GB, free: 6.895 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.9827, allocations: 6.379 MB / 1.373 GB, free: 0.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.984, allocations: 39.81 kB / 1.373 GB, free: 472 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.9861, allocations: 0.7617 MB / 1.374 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.9926, allocations: 2.755 MB / 1.376 GB, free: 12.93 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.9944, allocations: 0.721 MB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.9983, allocations: 3.275 MB / 1.38 GB, free: 8.922 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/1, allocations: 1.133 MB / 1.381 GB, free: 7.77 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/1.002, allocations: 1.296 MB / 1.383 GB, free: 6.469 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/1.005, allocations: 1.098 MB / 1.384 GB, free: 5.375 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003678/1.005, allocations: 128 kB / 1.384 GB, free: 5.25 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.01, allocations: 2.362 MB / 1.386 GB, free: 2.883 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/1.01, allocations: 0.5104 MB / 1.387 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.012, allocations: 0.7391 MB / 1.387 GB, free: 1.629 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005374/1.017, allocations: 2.797 MB / 1.39 GB, free: 14.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.017, allocations: 3.984 kB / 1.39 GB, free: 14.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.793e-06/1.017, allocations: 0 / 1.39 GB, free: 14.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.077e-05/1.017, allocations: 0 / 1.39 GB, free: 14.82 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005116/1.022, allocations: 1.765 MB / 1.392 GB, free: 13 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.022, allocations: 12.88 kB / 1.392 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/1.025, allocations: 354.2 kB / 1.392 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/1.027, allocations: 0.8739 MB / 1.393 GB, free: 11.72 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/1.027, allocations: 78.02 kB / 1.393 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/1.027, allocations: 99.98 kB / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/1.03, allocations: 1.191 MB / 1.394 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.03, allocations: 3.984 kB / 1.394 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.03, allocations: 51.97 kB / 1.394 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/1.03, allocations: 58.08 kB / 1.394 GB, free: 10.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.032, allocations: 1.246 MB / 1.396 GB, free: 8.957 MB / 1.123 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.007042/1.039, allocations: 5.097 MB / 1.401 GB, free: 3.402 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.041, allocations: 1.154 MB / 1.402 GB, free: 2.164 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/1.042, allocations: 0.5051 MB / 1.402 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/1.042, allocations: 20.78 kB / 1.402 GB, free: 1.637 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/1.042, allocations: 484.2 kB / 1.403 GB, free: 1.148 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/1.042, allocations: 0 / 1.403 GB, free: 1.148 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.001956/1.044, allocations: 1.165 MB / 1.404 GB, free: 15.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.044, allocations: 60.06 kB / 1.404 GB, free: 15.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/1.045, allocations: 0.5706 MB / 1.405 GB, free: 15.33 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/1.045, allocations: 37.7 kB / 1.405 GB, free: 15.29 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/1.046, allocations: 471.5 kB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/1.046, allocations: 268.1 kB / 1.405 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/1.046, allocations: 134.5 kB / 1.405 GB, free: 14.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.046, allocations: 382.8 kB / 1.406 GB, free: 14.03 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/1.047, allocations: 337.8 kB / 1.406 GB, free: 13.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/1.047, allocations: 444.8 kB / 1.407 GB, free: 13.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/1.048, allocations: 0.8232 MB / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.048, allocations: 4 kB / 1.407 GB, free: 12.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00138/1.05, allocations: 0.9296 MB / 1.408 GB, free: 11.43 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.05, allocations: 4.344 kB / 1.408 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.05, allocations: 11.94 kB / 1.408 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.05, allocations: 11.94 kB / 1.408 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/1.05, allocations: 151.8 kB / 1.408 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/1.05, allocations: 8 kB / 1.408 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/1.051, allocations: 59.31 kB / 1.408 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/1.051, allocations: 27.98 kB / 1.408 GB, free: 11.16 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004543/1.052, allocations: 329.6 kB / 1.409 GB, free: 10.83 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/1.052, allocations: 79.06 kB / 1.409 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/1.052, allocations: 115.7 kB / 1.409 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/1.053, allocations: 1.093 MB / 1.41 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.053, allocations: 4 kB / 1.41 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/1.054, allocations: 251.9 kB / 1.41 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.054, allocations: 16 kB / 1.41 GB, free: 9.172 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/1.055, allocations: 21.12 kB / 1.41 GB, free: 9.152 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.055, allocations: 40.59 kB / 1.41 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001847/1.057, allocations: 1.02 MB / 1.411 GB, free: 8.082 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001813/1.058, allocations: 1.469 MB / 1.413 GB, free: 6.598 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005106/1.059, allocations: 421 kB / 1.413 GB, free: 6.188 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004854/1.059, allocations: 411.1 kB / 1.414 GB, free: 5.789 MB / 1.139 GB Notification: Performance of Backend: time 3.8e-07/1.059, allocations: 0 / 1.414 GB, free: 5.789 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002491/1.062, allocations: 1.036 MB / 1.415 GB, free: 4.742 MB / 1.139 GB Notification: Performance of SimCode: time 0.004626/1.067, allocations: 2.663 MB / 1.417 GB, free: 2.039 MB / 1.139 GB Notification: Performance of Templates: time 0.03698/1.104, allocations: 23.95 MB / 1.441 GB, free: 10.29 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches