Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.608/1.608, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.136/3.136, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.81 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5761, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.315/1.892, allocations: 218.5 MB / 1.301 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0338/1.925, allocations: 20.43 MB / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006908/1.932, allocations: 58.78 kB / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00643/1.939, allocations: 1.295 MB / 1.322 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01856/1.958, allocations: 4.206 MB / 1.326 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006162/1.964, allocations: 1.552 MB / 1.328 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01737/1.981, allocations: 6.974 MB / 1.335 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00738/1.989, allocations: 2.369 MB / 1.337 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/1.999, allocations: 2.42 MB / 1.339 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009897/2.009, allocations: 2.464 MB / 1.342 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002365/2.012, allocations: 346.3 kB / 1.342 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009322/2.021, allocations: 3.481 MB / 1.345 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/2.024, allocations: 1.45 MB / 1.347 GB, free: 424 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005717/2.029, allocations: 1.946 MB / 1.349 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02302/2.052, allocations: 5.787 MB / 1.354 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/2.053, allocations: 3.938 kB / 1.354 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.156e-06/2.053, allocations: 0 / 1.354 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003009/2.053, allocations: 0 / 1.354 GB, free: 13.97 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.02705/2.08, allocations: 4.034 MB / 1.358 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/2.08, allocations: 10.75 kB / 1.358 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009867/2.081, allocations: 390.2 kB / 1.359 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/2.093, allocations: 0.8414 MB / 1.359 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/2.104, allocations: 1.948 MB / 1.361 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/2.105, allocations: 201.9 kB / 1.362 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/2.105, allocations: 267.5 kB / 1.362 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/2.117, allocations: 3.288 MB / 1.365 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/2.117, allocations: 5.547 kB / 1.365 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/2.117, allocations: 107.8 kB / 1.365 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/2.117, allocations: 126.3 kB / 1.365 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008067/2.125, allocations: 4.622 MB / 1.37 GB, free: 7.219 MB / 1.029 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.02208/2.147, allocations: 10.95 MB / 1.38 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/2.155, allocations: 4.862 MB / 1.385 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005343/2.161, allocations: 2.533 MB / 1.388 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/2.162, allocations: 0.8583 MB / 1.389 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/2.162, allocations: 80.58 kB / 1.389 GB, free: 9.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=399): time 5.831e-06/2.162, allocations: 0 / 1.389 GB, free: 9.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=399): time 0.01371/2.176, allocations: 6.043 MB / 1.395 GB, free: 5.641 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/2.176, allocations: 90.55 kB / 1.395 GB, free: 5.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/2.178, allocations: 1.24 MB / 1.396 GB, free: 4.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/2.178, allocations: 89.7 kB / 1.396 GB, free: 4.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/2.179, allocations: 0.8258 MB / 1.397 GB, free: 3.367 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/2.18, allocations: 1.399 MB / 1.398 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/2.181, allocations: 0.5469 MB / 1.399 GB, free: 1.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001153/2.181, allocations: 307.6 kB / 1.399 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/2.183, allocations: 1.599 MB / 1.4 GB, free: 15.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/2.186, allocations: 1.905 MB / 1.402 GB, free: 13.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/2.191, allocations: 3.839 MB / 1.406 GB, free: 9.691 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/2.191, allocations: 0 / 1.406 GB, free: 9.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007387/2.199, allocations: 4.198 MB / 1.41 GB, free: 5.488 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/2.199, allocations: 8 kB / 1.41 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/2.199, allocations: 4 kB / 1.41 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/2.199, allocations: 19.98 kB / 1.41 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006708/2.206, allocations: 0.6826 MB / 1.411 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-05/2.206, allocations: 16 kB / 1.411 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/2.209, allocations: 258.3 kB / 1.411 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/2.209, allocations: 116 kB / 1.411 GB, free: 4.434 MB / 1.061 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 (430): * Single equations (assignments): 430 * 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.001554/2.211, allocations: 0.7312 MB / 1.412 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/2.211, allocations: 250.5 kB / 1.412 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/2.218, allocations: 4.637 MB / 1.417 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.213e-05/2.218, allocations: 40 kB / 1.417 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/2.218, allocations: 0 / 1.417 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005858/2.224, allocations: 3.959 MB / 1.421 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/2.238, allocations: 8.273 MB / 1.429 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/2.238, allocations: 0 / 1.429 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002992/2.241, allocations: 0.6635 MB / 1.429 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/2.242, allocations: 137 kB / 1.429 GB, free: 1.734 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/2.242, allocations: 83.97 kB / 1.43 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/2.249, allocations: 5.042 MB / 1.434 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.249, allocations: 3.938 kB / 1.434 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.263, allocations: 6.834 MB / 1.441 GB, free: 5.332 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/2.265, allocations: 0.7719 MB / 1.442 GB, free: 4.539 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006222/2.266, allocations: 64 kB / 1.442 GB, free: 4.477 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/2.268, allocations: 91.02 kB / 1.442 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/2.268, allocations: 229.3 kB / 1.442 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/2.269, allocations: 115.9 kB / 1.442 GB, free: 4.055 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001445/2.27, allocations: 0.8606 MB / 1.443 GB, free: 3.191 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.21e-07/2.27, allocations: 0 / 1.443 GB, free: 3.191 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004037/2.274, allocations: 1.073 MB / 1.444 GB, free: 2.117 MB / 1.092 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.02488/2.299, allocations: 7.628 MB / 1.452 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01287/2.312, allocations: 4.057 MB / 1.456 GB, free: 6.449 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/2.312, allocations: 4 kB / 1.456 GB, free: 6.445 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.08502/2.397, allocations: 2.541 MB / 1.458 GB, free: 3.941 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/2.402, allocations: 1.073 MB / 1.459 GB, free: 2.883 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/2.438, allocations: 23.11 MB / 1.482 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/2.44, allocations: 1.949 MB / 1.484 GB, free: 9.559 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004543/2.445, allocations: 1.215 MB / 1.485 GB, free: 8.336 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.447, allocations: 1.089 MB / 1.486 GB, free: 7.246 MB / 1.139 GB Notification: Performance of SimCode: time 1.102e-06/2.447, allocations: 0 / 1.486 GB, free: 7.246 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2568/2.704, allocations: 66.72 MB / 1.551 GB, free: 5.191 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/18.69, allocations: 10.56 kB / 1.551 GB, free: 5.184 MB / 1.201 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches