Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.00812/0.00812, allocations: 99.95 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2482, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6638/0.9121, allocations: 166.9 MB / 1.329 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.9239, allocations: 8.486 MB / 1.337 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.9253, allocations: 41.78 kB / 1.338 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.9267, allocations: 0.574 MB / 1.338 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.93, allocations: 1.57 MB / 1.34 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.9322, allocations: 0.992 MB / 1.341 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003924/0.9362, allocations: 4.112 MB / 1.345 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9376, allocations: 1.314 MB / 1.346 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.9403, allocations: 1.519 MB / 1.347 GB, free: 9.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.942, allocations: 1.506 MB / 1.349 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.9423, allocations: 187.7 kB / 1.349 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.9445, allocations: 1.107 MB / 1.35 GB, free: 8.219 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.9451, allocations: 0.6647 MB / 1.351 GB, free: 7.914 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009918/0.9461, allocations: 1.035 MB / 1.352 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.949, allocations: 2.77 MB / 1.354 GB, free: 6.312 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.949, allocations: 10.2 kB / 1.354 GB, free: 6.305 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.143e-06/0.949, allocations: 0 / 1.354 GB, free: 6.305 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.949, allocations: 0 / 1.354 GB, free: 6.305 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004203/0.9533, allocations: 2.311 MB / 1.357 GB, free: 4.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9533, allocations: 9.594 kB / 1.357 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002579/0.9536, allocations: 224.9 kB / 1.357 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.954, allocations: 210.1 kB / 1.357 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.9559, allocations: 1.184 MB / 1.358 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.956, allocations: 116 kB / 1.358 GB, free: 3.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.9562, allocations: 147.1 kB / 1.359 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.959, allocations: 1.924 MB / 1.36 GB, free: 2.324 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.9591, allocations: 7.953 kB / 1.36 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9592, allocations: 60.28 kB / 1.36 GB, free: 2.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.9592, allocations: 38.06 kB / 1.361 GB, free: 2.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.9628, allocations: 2.478 MB / 1.363 GB, free: 1.117 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.006969/0.9698, allocations: 6.125 MB / 1.369 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.973, allocations: 2.803 MB / 1.372 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.9748, allocations: 1.422 MB / 1.373 GB, free: 10 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.9762, allocations: 1.736 MB / 1.375 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.9763, allocations: 55.94 kB / 1.375 GB, free: 7.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=237): time 3.687e-06/0.9763, allocations: 0 / 1.375 GB, free: 7.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=237): time 0.004849/0.9811, allocations: 3.443 MB / 1.378 GB, free: 6.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.9812, allocations: 76.09 kB / 1.378 GB, free: 6.156 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.982, allocations: 0.7733 MB / 1.379 GB, free: 5.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.9822, allocations: 67.83 kB / 1.379 GB, free: 5.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.9825, allocations: 0.489 MB / 1.38 GB, free: 5.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/0.9831, allocations: 0.8311 MB / 1.38 GB, free: 4.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.9835, allocations: 351 kB / 1.381 GB, free: 4.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.9836, allocations: 301.1 kB / 1.381 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.9849, allocations: 0.9026 MB / 1.382 GB, free: 3.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.9863, allocations: 1.119 MB / 1.383 GB, free: 2.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.9893, allocations: 2.231 MB / 1.385 GB, free: 1.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9893, allocations: 0 / 1.385 GB, free: 1.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003425/0.9927, allocations: 2.438 MB / 1.388 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9928, allocations: 9.281 kB / 1.388 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9928, allocations: 9.25 kB / 1.388 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9928, allocations: 13.31 kB / 1.388 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.9944, allocations: 441.5 kB / 1.388 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.9944, allocations: 16.75 kB / 1.388 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.9955, allocations: 158 kB / 1.388 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.9956, allocations: 72.8 kB / 1.388 GB, free: 272 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0006016/0.9962, allocations: 442.7 kB / 1.389 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.9965, allocations: 152.8 kB / 1.389 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/1.001, allocations: 2.729 MB / 1.391 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.001, allocations: 24 kB / 1.391 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.001, allocations: 1.562 kB / 1.391 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003208/1.004, allocations: 2.381 MB / 1.394 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/1.01, allocations: 4.306 MB / 1.398 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.01, allocations: 0 / 1.398 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.011, allocations: 411.4 kB / 1.398 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/1.012, allocations: 101.7 kB / 1.398 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.012, allocations: 51.98 kB / 1.399 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/1.013, allocations: 1.124 MB / 1.4 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.013, allocations: 0 / 1.4 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/1.018, allocations: 4.066 MB / 1.404 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.019, allocations: 479.6 kB / 1.404 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.019, allocations: 41 kB / 1.404 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.02, allocations: 47.98 kB / 1.404 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.02, allocations: 145.6 kB / 1.404 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.02, allocations: 71.98 kB / 1.404 GB, free: 15.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006239/1.021, allocations: 0.5459 MB / 1.405 GB, free: 15.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.021, allocations: 0 / 1.405 GB, free: 15.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001387/1.022, allocations: 0.6552 MB / 1.406 GB, free: 14.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006294/1.029, allocations: 4.907 MB / 1.41 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003256/1.032, allocations: 2.328 MB / 1.413 GB, free: 7.148 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.032, allocations: 0.9375 kB / 1.413 GB, free: 7.148 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.034, allocations: 1.284 MB / 1.414 GB, free: 5.871 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.036, allocations: 0.5775 MB / 1.414 GB, free: 5.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.054, allocations: 13.67 MB / 1.428 GB, free: 7.359 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/1.055, allocations: 1.339 MB / 1.429 GB, free: 5.988 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001889/1.057, allocations: 0.7306 MB / 1.43 GB, free: 5.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/1.058, allocations: 0.6203 MB / 1.43 GB, free: 4.629 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.058, allocations: 4 kB / 1.43 GB, free: 4.625 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06679/1.125, allocations: 39.8 MB / 1.469 GB, free: 13.29 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.46, allocations: 22.14 kB / 1.469 GB, free: 13.27 MB / 1.139 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches