Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.0008333/0.0008333, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000875/0.000875, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8638/0.8638, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.675/1.675, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.NaturalVentilation,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.71e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5495/0.5495, allocations: 178.6 MB / 1.155 GB, free: 8.559 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008642/0.5581, allocations: 6.926 MB / 1.162 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5592, allocations: 47.72 kB / 1.162 GB, free: 3.844 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5606, allocations: 0.677 MB / 1.163 GB, free: 3.473 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.5651, allocations: 2.57 MB / 1.165 GB, free: 2.066 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.5675, allocations: 1.283 MB / 1.167 GB, free: 1.387 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.5709, allocations: 3.023 MB / 1.17 GB, free: 15.95 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.572, allocations: 0.7069 MB / 1.17 GB, free: 15.61 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.5746, allocations: 1.546 MB / 1.172 GB, free: 14.94 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.5765, allocations: 0.8831 MB / 1.173 GB, free: 14.66 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.5766, allocations: 110.5 kB / 1.173 GB, free: 14.66 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.5805, allocations: 1.78 MB / 1.174 GB, free: 13.98 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.581, allocations: 482.3 kB / 1.175 GB, free: 13.76 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.5816, allocations: 495.3 kB / 1.175 GB, free: 13.56 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.5858, allocations: 2.423 MB / 1.178 GB, free: 12.74 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5858, allocations: 0 / 1.178 GB, free: 12.74 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5858, allocations: 3.469 kB / 1.178 GB, free: 12.74 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.5858, allocations: 1.094 kB / 1.178 GB, free: 12.74 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002603/0.5884, allocations: 1.572 MB / 1.179 GB, free: 11.76 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5885, allocations: 10.12 kB / 1.179 GB, free: 11.76 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.5886, allocations: 138.9 kB / 1.179 GB, free: 11.67 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.59, allocations: 386.2 kB / 1.18 GB, free: 11.57 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.591, allocations: 0.7823 MB / 1.181 GB, free: 11.1 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.591, allocations: 72.14 kB / 1.181 GB, free: 11.06 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5911, allocations: 83.22 kB / 1.181 GB, free: 11.04 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.5924, allocations: 1.246 MB / 1.182 GB, free: 10.32 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.5924, allocations: 3.172 kB / 1.182 GB, free: 10.32 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.5924, allocations: 32.38 kB / 1.182 GB, free: 10.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.5925, allocations: 45.34 kB / 1.182 GB, free: 10.3 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5935, allocations: 0.8731 MB / 1.183 GB, free: 9.996 MB / 1.026 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.002808/0.5963, allocations: 2.873 MB / 1.186 GB, free: 8.223 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.5971, allocations: 0.6643 MB / 1.186 GB, free: 7.934 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.5977, allocations: 435.8 kB / 1.187 GB, free: 7.781 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.5979, allocations: 73.45 kB / 1.187 GB, free: 7.777 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/0.598, allocations: 42.42 kB / 1.187 GB, free: 7.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.598, allocations: 0 / 1.187 GB, free: 7.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=70): time 0.001264/0.5993, allocations: 1 MB / 1.188 GB, free: 7.324 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.5993, allocations: 60.59 kB / 1.188 GB, free: 7.262 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.5998, allocations: 0.6384 MB / 1.189 GB, free: 6.98 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.5999, allocations: 41.08 kB / 1.189 GB, free: 6.938 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6001, allocations: 434.9 kB / 1.189 GB, free: 6.598 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6003, allocations: 261.8 kB / 1.189 GB, free: 6.387 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.6004, allocations: 117.9 kB / 1.189 GB, free: 6.32 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6005, allocations: 391.8 kB / 1.19 GB, free: 5.973 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.6009, allocations: 275.3 kB / 1.19 GB, free: 5.871 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.6013, allocations: 361.2 kB / 1.19 GB, free: 5.695 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.602, allocations: 0.6661 MB / 1.191 GB, free: 5.363 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.602, allocations: 0 / 1.191 GB, free: 5.363 MB / 1.026 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008913/0.6029, allocations: 0.7943 MB / 1.192 GB, free: 5.02 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6029, allocations: 6.375 kB / 1.192 GB, free: 5.02 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.603, allocations: 2.875 kB / 1.192 GB, free: 5.02 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.603, allocations: 5.094 kB / 1.192 GB, free: 5.02 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.6033, allocations: 142.4 kB / 1.192 GB, free: 5.008 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6033, allocations: 7.609 kB / 1.192 GB, free: 5.008 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.6037, allocations: 65.33 kB / 1.192 GB, free: 4.961 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.6037, allocations: 27.22 kB / 1.192 GB, free: 4.953 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.000272/0.604, allocations: 290.8 kB / 1.192 GB, free: 4.746 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6041, allocations: 90.28 kB / 1.192 GB, free: 4.699 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.605, allocations: 0.789 MB / 1.193 GB, free: 4.344 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.605, allocations: 12.34 kB / 1.193 GB, free: 4.34 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.605, allocations: 0 / 1.193 GB, free: 4.34 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007321/0.6058, allocations: 0.8209 MB / 1.194 GB, free: 3.852 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.6075, allocations: 1.675 MB / 1.196 GB, free: 3.023 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6075, allocations: 3.25 kB / 1.196 GB, free: 3.023 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.6079, allocations: 163.9 kB / 1.196 GB, free: 3.012 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6079, allocations: 2.75 kB / 1.196 GB, free: 3.012 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6079, allocations: 27.92 kB / 1.196 GB, free: 2.992 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6079, allocations: 2.75 kB / 1.196 GB, free: 2.992 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6079, allocations: 3.938 kB / 1.196 GB, free: 2.988 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.609, allocations: 1.205 MB / 1.197 GB, free: 2.418 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.6092, allocations: 181.1 kB / 1.197 GB, free: 2.312 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.6093, allocations: 13.09 kB / 1.197 GB, free: 2.305 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.6096, allocations: 23.2 kB / 1.197 GB, free: 2.293 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.6097, allocations: 43.59 kB / 1.197 GB, free: 2.289 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.6097, allocations: 22.44 kB / 1.197 GB, free: 2.285 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005897/0.6103, allocations: 461.7 kB / 1.198 GB, free: 2.086 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6103, allocations: 0 / 1.198 GB, free: 2.086 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005634/0.6109, allocations: 335.5 kB / 1.198 GB, free: 2.023 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.001452/0.6123, allocations: 1.837 MB / 1.2 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006866/0.613, allocations: 0.6508 MB / 1.2 GB, free: 0.6602 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.613, allocations: 0 / 1.2 GB, free: 0.6602 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.6133, allocations: 349.4 kB / 1.201 GB, free: 0.5469 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6147, allocations: 0.5594 MB / 1.201 GB, free: 328 kB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.6212, allocations: 6.8 MB / 1.208 GB, free: 12.08 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.6215, allocations: 0.4949 MB / 1.208 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005933/0.6221, allocations: 228 kB / 1.209 GB, free: 11.69 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.6225, allocations: 361.8 kB / 1.209 GB, free: 11.39 MB / 1.042 GB Notification: Performance of SimCode: time 9.31e-07/0.6225, allocations: 0 / 1.209 GB, free: 11.39 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.6607, allocations: 28.04 MB / 1.236 GB, free: 5.012 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.249, allocations: 9.453 kB / 1.236 GB, free: 5.008 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volA.T in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.229139203205705]