Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_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: 108 kB / 15.6 MB, free: 132 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.001162/0.001162, allocations: 194 kB / 16.53 MB, free: 6.391 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.418/2.418, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.17 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2403, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6176/0.8579, allocations: 218.5 MB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02175/0.8797, allocations: 20.43 MB / 1.297 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.8819, allocations: 56.44 kB / 1.297 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.8845, allocations: 1.245 MB / 1.298 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00884/0.8935, allocations: 4.084 MB / 1.302 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.8968, allocations: 1.525 MB / 1.304 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007187/0.904, allocations: 6.968 MB / 1.311 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/0.9072, allocations: 2.356 MB / 1.313 GB, free: 19.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.9112, allocations: 2.353 MB / 1.315 GB, free: 19.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.9149, allocations: 2.455 MB / 1.318 GB, free: 19.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005682/0.9154, allocations: 343.1 kB / 1.318 GB, free: 19.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007389/0.9228, allocations: 3.473 MB / 1.321 GB, free: 19.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.9241, allocations: 1.447 MB / 1.323 GB, free: 19.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.9263, allocations: 1.869 MB / 1.325 GB, free: 18.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.9329, allocations: 5.72 MB / 1.33 GB, free: 18.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9329, allocations: 0.875 kB / 1.33 GB, free: 18.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9329, allocations: 3.938 kB / 1.33 GB, free: 18.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.605e-05/0.933, allocations: 6 kB / 1.33 GB, free: 18.04 MB / 1.014 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.007717/0.9407, allocations: 3.945 MB / 1.334 GB, free: 16.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9407, allocations: 7.062 kB / 1.334 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004322/0.9412, allocations: 392.7 kB / 1.334 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004378/0.9456, allocations: 0.8251 MB / 1.335 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.9483, allocations: 1.883 MB / 1.337 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.9485, allocations: 205.3 kB / 1.337 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.9488, allocations: 271 kB / 1.337 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004511/0.9533, allocations: 3.271 MB / 1.341 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.9534, allocations: 9.906 kB / 1.341 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.9536, allocations: 112.9 kB / 1.341 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.103e-05/0.9537, allocations: 124.2 kB / 1.341 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/0.9596, allocations: 4.619 MB / 1.345 GB, free: 14.92 MB / 1.014 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.01354/0.9732, allocations: 11 MB / 1.356 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005118/0.9783, allocations: 4.865 MB / 1.361 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.9812, allocations: 2.517 MB / 1.363 GB, free: 3.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009422/0.9822, allocations: 0.8672 MB / 1.364 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.9823, allocations: 80.05 kB / 1.364 GB, free: 2.504 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 4.679e-06/0.9823, allocations: 0 / 1.364 GB, free: 2.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.008635/0.9909, allocations: 6.015 MB / 1.37 GB, free: 15.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.991, allocations: 94.36 kB / 1.37 GB, free: 15.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.9924, allocations: 1.237 MB / 1.371 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.9926, allocations: 93.48 kB / 1.372 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.9931, allocations: 0.8094 MB / 1.372 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009687/0.9941, allocations: 1.33 MB / 1.374 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007662/0.9949, allocations: 0.5532 MB / 1.374 GB, free: 12.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.995, allocations: 305.1 kB / 1.374 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.9972, allocations: 1.601 MB / 1.376 GB, free: 11.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.9997, allocations: 1.911 MB / 1.378 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/1.005, allocations: 3.839 MB / 1.382 GB, free: 6.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.005, allocations: 0 / 1.382 GB, free: 6.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005758/1.011, allocations: 4.185 MB / 1.386 GB, free: 2.754 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.011, allocations: 11.94 kB / 1.386 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.011, allocations: 416 / 1.386 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.011, allocations: 24 kB / 1.386 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/1.013, allocations: 0.6763 MB / 1.386 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/1.013, allocations: 30.45 kB / 1.386 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.015, allocations: 241.3 kB / 1.387 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.016, allocations: 112 kB / 1.387 GB, free: 1.707 MB / 1.029 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.00105/1.017, allocations: 0.7327 MB / 1.387 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/1.017, allocations: 237.2 kB / 1.388 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/1.024, allocations: 4.636 MB / 1.392 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.024, allocations: 36 kB / 1.392 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.024, allocations: 8 kB / 1.392 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005259/1.029, allocations: 3.959 MB / 1.396 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.04, allocations: 8.27 MB / 1.404 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.04, allocations: 0 / 1.404 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.042, allocations: 0.6596 MB / 1.405 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/1.043, allocations: 137 kB / 1.405 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.043, allocations: 83.97 kB / 1.405 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/1.046, allocations: 5.061 MB / 1.41 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.046, allocations: 0 / 1.41 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/1.055, allocations: 6.804 MB / 1.417 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.056, allocations: 0.7666 MB / 1.417 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/1.056, allocations: 71.94 kB / 1.417 GB, free: 1.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.058, allocations: 86.41 kB / 1.418 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.058, allocations: 222.8 kB / 1.418 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/1.059, allocations: 114.5 kB / 1.418 GB, free: 1.355 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009872/1.06, allocations: 0.8567 MB / 1.419 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.06, allocations: 4 kB / 1.419 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001963/1.062, allocations: 1.076 MB / 1.42 GB, free: 15.41 MB / 1.076 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.009261/1.071, allocations: 7.602 MB / 1.427 GB, free: 7.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01933/1.09, allocations: 11.48 MB / 1.438 GB, free: 12.38 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.09, allocations: 0 / 1.438 GB, free: 12.38 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/1.093, allocations: 2.561 MB / 1.441 GB, free: 9.855 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.097, allocations: 1.077 MB / 1.442 GB, free: 8.801 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.127, allocations: 24.96 MB / 1.466 GB, free: 14.63 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.129, allocations: 1.942 MB / 1.468 GB, free: 12.65 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002984/1.132, allocations: 1.215 MB / 1.469 GB, free: 11.43 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.133, allocations: 1.089 MB / 1.47 GB, free: 10.34 MB / 1.123 GB Notification: Performance of SimCode: time 3.81e-07/1.133, allocations: 8 kB / 1.47 GB, free: 10.33 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09153/1.225, allocations: 66.16 MB / 1.535 GB, free: 8.883 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.885/11.11, allocations: 1.469 kB / 1.535 GB, free: 8.883 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches