Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.001471/0.001471, allocations: 103.5 kB / 16.45 MB, free: 6.504 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.001519/0.001519, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.376/1.376, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.006/3.006, allocations: 0.49 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 69.69 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2493/0.6106, allocations: 207.9 MB / 1.524 GB, free: 2.676 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.6218, allocations: 6.395 MB / 1.53 GB, free: 12.26 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.6236, allocations: 51.62 kB / 1.53 GB, free: 12.21 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.6259, allocations: 0.7733 MB / 1.531 GB, free: 11.43 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007394/0.6333, allocations: 2.766 MB / 1.534 GB, free: 8.656 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.001998/0.6353, allocations: 0.7067 MB / 1.534 GB, free: 7.953 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.6401, allocations: 3.288 MB / 1.537 GB, free: 4.652 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.6417, allocations: 0.9375 MB / 1.538 GB, free: 3.695 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.6447, allocations: 1.425 MB / 1.54 GB, free: 2.266 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.6472, allocations: 1.149 MB / 1.541 GB, free: 1.117 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.6475, allocations: 128 kB / 1.541 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/0.6527, allocations: 2.498 MB / 1.543 GB, free: 14.49 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008403/0.6536, allocations: 0.5375 MB / 1.544 GB, free: 13.95 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.6548, allocations: 0.7391 MB / 1.545 GB, free: 13.21 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.6607, allocations: 2.808 MB / 1.547 GB, free: 10.39 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6607, allocations: 0 / 1.547 GB, free: 10.39 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6607, allocations: 0 / 1.547 GB, free: 10.39 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.945e-05/0.6607, allocations: 0 / 1.547 GB, free: 10.39 MB / 1.248 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.004695/0.6654, allocations: 1.805 MB / 1.549 GB, free: 8.527 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6655, allocations: 11.98 kB / 1.549 GB, free: 8.516 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.6657, allocations: 172.6 kB / 1.549 GB, free: 8.336 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.6681, allocations: 350.9 kB / 1.55 GB, free: 7.992 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.6698, allocations: 0.8785 MB / 1.551 GB, free: 7.07 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.6698, allocations: 74.02 kB / 1.551 GB, free: 6.996 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.67, allocations: 108 kB / 1.551 GB, free: 6.891 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.6722, allocations: 1.187 MB / 1.552 GB, free: 5.672 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.6722, allocations: 0 / 1.552 GB, free: 5.672 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6723, allocations: 43.98 kB / 1.552 GB, free: 5.629 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/0.6724, allocations: 62.06 kB / 1.552 GB, free: 5.566 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.6744, allocations: 1.246 MB / 1.553 GB, free: 4.312 MB / 1.248 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.007401/0.6818, allocations: 5.274 MB / 1.558 GB, free: 14.54 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.6835, allocations: 1.133 MB / 1.56 GB, free: 13.33 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.6842, allocations: 493.1 kB / 1.56 GB, free: 12.84 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.6843, allocations: 20.8 kB / 1.56 GB, free: 12.82 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007857/0.6851, allocations: 488.2 kB / 1.56 GB, free: 12.33 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.326e-06/0.6851, allocations: 0 / 1.56 GB, free: 12.33 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002156/0.6872, allocations: 1.169 MB / 1.562 GB, free: 11.16 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.6873, allocations: 64.06 kB / 1.562 GB, free: 11.08 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.6881, allocations: 0.5706 MB / 1.562 GB, free: 10.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.6882, allocations: 37.7 kB / 1.562 GB, free: 10.46 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.6886, allocations: 472.6 kB / 1.563 GB, free: 9.988 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.6889, allocations: 285.5 kB / 1.563 GB, free: 9.707 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.6891, allocations: 130.6 kB / 1.563 GB, free: 9.574 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.6893, allocations: 390.8 kB / 1.563 GB, free: 9.184 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.6899, allocations: 333.8 kB / 1.564 GB, free: 8.855 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.6905, allocations: 448.7 kB / 1.564 GB, free: 8.383 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6917, allocations: 0.8233 MB / 1.565 GB, free: 7.52 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6917, allocations: 3.938 kB / 1.565 GB, free: 7.516 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001545/0.6933, allocations: 0.9265 MB / 1.566 GB, free: 6.582 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6933, allocations: 16 kB / 1.566 GB, free: 6.566 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6933, allocations: 0 / 1.566 GB, free: 6.566 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6933, allocations: 8 kB / 1.566 GB, free: 6.559 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.694, allocations: 159.7 kB / 1.566 GB, free: 6.402 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.694, allocations: 8 kB / 1.566 GB, free: 6.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.6948, allocations: 59.52 kB / 1.566 GB, free: 6.336 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.6948, allocations: 28 kB / 1.566 GB, free: 6.309 MB / 1.264 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.0005816/0.6954, allocations: 336.7 kB / 1.567 GB, free: 5.973 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6956, allocations: 95.41 kB / 1.567 GB, free: 5.879 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.6958, allocations: 107.8 kB / 1.567 GB, free: 5.77 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6959, allocations: 8 kB / 1.567 GB, free: 5.762 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.6959, allocations: 0 / 1.567 GB, free: 5.762 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.6973, allocations: 1.089 MB / 1.568 GB, free: 4.586 MB / 1.264 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 postOpt removeSimpleEquations (simulation): time 0.003493/0.7008, allocations: 2.307 MB / 1.57 GB, free: 2.188 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7008, allocations: 4 kB / 1.57 GB, free: 2.184 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.7017, allocations: 175.8 kB / 1.57 GB, free: 2.012 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.7017, allocations: 4 kB / 1.57 GB, free: 2.008 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.7017, allocations: 16 kB / 1.57 GB, free: 1.992 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7017, allocations: 7.938 kB / 1.57 GB, free: 1.984 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7017, allocations: 0 / 1.57 GB, free: 1.984 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.7038, allocations: 1.356 MB / 1.572 GB, free: 0.6094 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.7042, allocations: 260.3 kB / 1.572 GB, free: 344 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.7043, allocations: 16 kB / 1.572 GB, free: 328 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.7049, allocations: 23.98 kB / 1.572 GB, free: 304 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.705, allocations: 44.59 kB / 1.572 GB, free: 260 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.7051, allocations: 20 kB / 1.572 GB, free: 240 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005569/0.7056, allocations: 423 kB / 1.572 GB, free: 15.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.7056, allocations: 0 / 1.572 GB, free: 15.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009256/0.7066, allocations: 371.3 kB / 1.573 GB, free: 15.46 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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 simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.002517/0.7091, allocations: 1.973 MB / 1.575 GB, free: 13.46 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.7104, allocations: 0.7668 MB / 1.575 GB, free: 12.69 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.7104, allocations: 0 / 1.575 GB, free: 12.69 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.711, allocations: 412.2 kB / 1.576 GB, free: 12.29 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.7136, allocations: 0.5905 MB / 1.576 GB, free: 11.71 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.7241, allocations: 7.282 MB / 1.583 GB, free: 4.266 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.725, allocations: 1.147 MB / 1.585 GB, free: 3.094 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009072/0.7259, allocations: 275.1 kB / 1.585 GB, free: 2.82 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.7265, allocations: 383.3 kB / 1.585 GB, free: 2.445 MB / 1.279 GB Notification: Performance of SimCode: time 8.51e-07/0.7265, allocations: 0 / 1.585 GB, free: 2.445 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6678/1.394, allocations: 26.03 MB / 1.611 GB, free: 280.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.112/10.51, allocations: 5.859 kB / 1.611 GB, free: 280.3 MB / 1.295 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 16.805176386842504]