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.001501/0.001501, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001631/0.001631, allocations: 215 kB / 20.13 MB, free: 2.949 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.799/2.799, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.001941/0.001941, allocations: 67.91 kB / 1.149 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9947/0.9966, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2432/1.24, allocations: 207.9 MB / 1.525 GB, free: 9.301 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.251, allocations: 6.399 MB / 1.531 GB, free: 2.883 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.252, allocations: 47.62 kB / 1.531 GB, free: 2.836 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/1.254, allocations: 0.7733 MB / 1.532 GB, free: 2.059 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006897/1.261, allocations: 2.769 MB / 1.534 GB, free: 15.28 MB / 1.217 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.001854/1.263, allocations: 0.708 MB / 1.535 GB, free: 14.57 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004079/1.267, allocations: 3.281 MB / 1.538 GB, free: 11.28 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/1.268, allocations: 0.9336 MB / 1.539 GB, free: 10.33 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/1.271, allocations: 1.433 MB / 1.54 GB, free: 8.891 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.273, allocations: 1.149 MB / 1.542 GB, free: 7.742 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/1.273, allocations: 128 kB / 1.542 GB, free: 7.617 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/1.278, allocations: 2.502 MB / 1.544 GB, free: 5.109 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006001/1.278, allocations: 0.5298 MB / 1.545 GB, free: 4.578 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.279, allocations: 0.743 MB / 1.545 GB, free: 3.832 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005202/1.285, allocations: 2.8 MB / 1.548 GB, free: 1.023 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.285, allocations: 0 / 1.548 GB, free: 1.023 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.473e-06/1.285, allocations: 0 / 1.548 GB, free: 1.023 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.863e-05/1.285, allocations: 0 / 1.548 GB, free: 1.023 MB / 1.217 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.004239/1.289, allocations: 1.809 MB / 1.55 GB, free: 15.16 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.289, allocations: 15.98 kB / 1.55 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.413e-05/1.289, allocations: 30.02 kB / 1.55 GB, free: 15.11 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/1.289, allocations: 156.6 kB / 1.55 GB, free: 14.95 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/1.291, allocations: 362.8 kB / 1.55 GB, free: 14.59 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.293, allocations: 0.8747 MB / 1.551 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/1.293, allocations: 78 kB / 1.551 GB, free: 13.59 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.293, allocations: 99.98 kB / 1.551 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.295, allocations: 1.199 MB / 1.553 GB, free: 12.27 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.295, allocations: 4 kB / 1.553 GB, free: 12.26 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.295, allocations: 40 kB / 1.553 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/1.295, allocations: 62.02 kB / 1.553 GB, free: 12.16 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/1.297, allocations: 1.249 MB / 1.554 GB, free: 10.9 MB / 1.232 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.006797/1.304, allocations: 5.27 MB / 1.559 GB, free: 5.133 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.306, allocations: 1.133 MB / 1.56 GB, free: 3.918 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/1.306, allocations: 489.2 kB / 1.561 GB, free: 3.441 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/1.306, allocations: 8.656 kB / 1.561 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007546/1.307, allocations: 496.1 kB / 1.561 GB, free: 2.934 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/1.307, allocations: 4 kB / 1.561 GB, free: 2.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002061/1.309, allocations: 1.157 MB / 1.562 GB, free: 1.766 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.309, allocations: 60.06 kB / 1.562 GB, free: 1.695 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/1.31, allocations: 0.5706 MB / 1.563 GB, free: 1.117 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/1.31, allocations: 41.7 kB / 1.563 GB, free: 1.07 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.31, allocations: 476.7 kB / 1.563 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.311, allocations: 277.6 kB / 1.564 GB, free: 332 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.311, allocations: 134.6 kB / 1.564 GB, free: 192 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.311, allocations: 386.8 kB / 1.564 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/1.312, allocations: 333.8 kB / 1.564 GB, free: 15.47 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/1.312, allocations: 452.7 kB / 1.565 GB, free: 15 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.313, allocations: 0.8194 MB / 1.566 GB, free: 14.14 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.313, allocations: 0 / 1.566 GB, free: 14.14 MB / 1.248 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001457/1.315, allocations: 0.938 MB / 1.567 GB, free: 13.2 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.315, allocations: 11.94 kB / 1.567 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.315, allocations: 4 kB / 1.567 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.315, allocations: 4 kB / 1.567 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/1.315, allocations: 155.8 kB / 1.567 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.315, allocations: 4 kB / 1.567 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/1.316, allocations: 63.52 kB / 1.567 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/1.316, allocations: 24 kB / 1.567 GB, free: 12.93 MB / 1.248 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.0004863/1.317, allocations: 338 kB / 1.567 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/1.317, allocations: 95.42 kB / 1.567 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/1.317, allocations: 107.7 kB / 1.567 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/1.317, allocations: 8 kB / 1.567 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.317, allocations: 4 kB / 1.567 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/1.318, allocations: 1.085 MB / 1.568 GB, free: 11.21 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 postOpt removeSimpleEquations (simulation): time 0.003398/1.322, allocations: 2.31 MB / 1.571 GB, free: 8.805 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.322, allocations: 7.969 kB / 1.571 GB, free: 8.797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/1.323, allocations: 171.8 kB / 1.571 GB, free: 8.629 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.323, allocations: 4 kB / 1.571 GB, free: 8.625 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/1.323, allocations: 23.98 kB / 1.571 GB, free: 8.602 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/1.323, allocations: 0 / 1.571 GB, free: 8.602 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.323, allocations: 0 / 1.571 GB, free: 8.602 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.325, allocations: 1.363 MB / 1.572 GB, free: 7.219 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/1.325, allocations: 256.4 kB / 1.573 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/1.325, allocations: 12 kB / 1.573 GB, free: 6.938 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/1.326, allocations: 27.97 kB / 1.573 GB, free: 6.91 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/1.326, allocations: 40.59 kB / 1.573 GB, free: 6.871 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/1.326, allocations: 27.94 kB / 1.573 GB, free: 6.844 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005042/1.327, allocations: 415 kB / 1.573 GB, free: 6.441 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.327, allocations: 4 kB / 1.573 GB, free: 6.438 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009051/1.328, allocations: 371.3 kB / 1.573 GB, free: 6.074 MB / 1.248 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.002328/1.33, allocations: 1.976 MB / 1.575 GB, free: 4.07 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.331, allocations: 0.7635 MB / 1.576 GB, free: 3.305 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.331, allocations: 0 / 1.576 GB, free: 3.305 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/1.332, allocations: 415.6 kB / 1.576 GB, free: 2.902 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.334, allocations: 0.5826 MB / 1.577 GB, free: 2.332 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1.344, allocations: 7.297 MB / 1.584 GB, free: 10.87 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/1.345, allocations: 1.143 MB / 1.585 GB, free: 9.695 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008345/1.345, allocations: 271.1 kB / 1.586 GB, free: 9.426 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/1.346, allocations: 379.3 kB / 1.586 GB, free: 9.055 MB / 1.264 GB Notification: Performance of SimCode: time 9.02e-07/1.346, allocations: 0 / 1.586 GB, free: 9.055 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05177/1.398, allocations: 26.07 MB / 1.611 GB, free: 15.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.725/11.12, allocations: 14.25 kB / 1.611 GB, free: 15.31 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: 17.555626954010222]