Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.01087/0.01087, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.002259/0.00226, allocations: 192 kB / 16.67 MB, free: 5.938 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.7 MB / 0.7453 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8161, allocations: 159.9 MB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1989/1.015, allocations: 198.6 MB / 1.419 GB, free: 6.043 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01114/1.026, allocations: 9.449 MB / 1.428 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/1.027, allocations: 15.94 kB / 1.428 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/1.029, allocations: 0.6371 MB / 1.429 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0047/1.034, allocations: 2.084 MB / 1.431 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/1.036, allocations: 0.7434 MB / 1.432 GB, free: 9.078 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002396/1.038, allocations: 2.12 MB / 1.434 GB, free: 6.953 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009951/1.039, allocations: 0.7673 MB / 1.435 GB, free: 6.164 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/1.041, allocations: 1.397 MB / 1.436 GB, free: 4.762 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009838/1.042, allocations: 0.7393 MB / 1.437 GB, free: 4.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/1.043, allocations: 68 kB / 1.437 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/1.046, allocations: 1.941 MB / 1.439 GB, free: 2.008 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/1.046, allocations: 355 kB / 1.439 GB, free: 1.66 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/1.047, allocations: 0.5016 MB / 1.439 GB, free: 1.156 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/1.05, allocations: 1.842 MB / 1.441 GB, free: 15.31 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.05, allocations: 0 / 1.441 GB, free: 15.31 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.945e-06/1.05, allocations: 3.938 kB / 1.441 GB, free: 15.3 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.05, allocations: 3.938 kB / 1.441 GB, free: 15.3 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.0033/1.053, allocations: 1.467 MB / 1.443 GB, free: 13.78 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.053, allocations: 8.031 kB / 1.443 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/1.053, allocations: 122.5 kB / 1.443 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/1.054, allocations: 159.2 kB / 1.443 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/1.055, allocations: 0.5805 MB / 1.444 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/1.055, allocations: 53.98 kB / 1.444 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/1.055, allocations: 71.94 kB / 1.444 GB, free: 12.74 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.056, allocations: 0.8626 MB / 1.445 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/1.056, allocations: 0 / 1.445 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/1.056, allocations: 27.98 kB / 1.445 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/1.056, allocations: 49.98 kB / 1.445 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.058, allocations: 0.7728 MB / 1.445 GB, free: 11.01 MB / 1.17 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.004728/1.062, allocations: 4.527 MB / 1.45 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/1.063, allocations: 415.8 kB / 1.45 GB, free: 5.527 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/1.064, allocations: 197.4 kB / 1.45 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/1.064, allocations: 0.7561 MB / 1.451 GB, free: 4.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.064, allocations: 38.89 kB / 1.451 GB, free: 4.363 MB / 1.17 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/1.064, allocations: 0 / 1.451 GB, free: 4.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.001263/1.065, allocations: 0.6148 MB / 1.452 GB, free: 3.742 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.066, allocations: 55.41 kB / 1.452 GB, free: 3.676 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/1.067, allocations: 0.868 MB / 1.453 GB, free: 2.797 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/1.067, allocations: 33.7 kB / 1.453 GB, free: 2.758 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/1.067, allocations: 396.2 kB / 1.453 GB, free: 2.367 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/1.067, allocations: 142.8 kB / 1.453 GB, free: 2.227 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/1.067, allocations: 102.2 kB / 1.453 GB, free: 2.117 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.067, allocations: 322 kB / 1.454 GB, free: 1.797 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/1.068, allocations: 185 kB / 1.454 GB, free: 1.617 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.068, allocations: 281.5 kB / 1.454 GB, free: 1.32 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/1.069, allocations: 454.6 kB / 1.454 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.069, allocations: 0 / 1.454 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009906/1.07, allocations: 0.5863 MB / 1.455 GB, free: 260 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.07, allocations: 8 kB / 1.455 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.07, allocations: 0 / 1.455 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.07, allocations: 7.938 kB / 1.455 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.07, allocations: 99.89 kB / 1.455 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.07, allocations: 4 kB / 1.455 GB, free: 140 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/1.071, allocations: 79.45 kB / 1.455 GB, free: 60 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/1.071, allocations: 27.92 kB / 1.455 GB, free: 32 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.000322/1.071, allocations: 241.8 kB / 1.455 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.071, allocations: 87.44 kB / 1.456 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009911/1.072, allocations: 0.5592 MB / 1.456 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.072, allocations: 7.938 kB / 1.456 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.072, allocations: 0 / 1.456 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.072, allocations: 7.984 kB / 1.456 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/1.076, allocations: 2.115 MB / 1.458 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.076, allocations: 8.125 kB / 1.458 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/1.076, allocations: 95.83 kB / 1.458 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.076, allocations: 8 kB / 1.458 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/1.076, allocations: 12 kB / 1.458 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/1.076, allocations: 11.98 kB / 1.458 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.076, allocations: 11.94 kB / 1.458 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.077, allocations: 0.9877 MB / 1.459 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/1.078, allocations: 216.4 kB / 1.46 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.078, allocations: 16.06 kB / 1.46 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/1.078, allocations: 19.98 kB / 1.46 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/1.078, allocations: 47.77 kB / 1.46 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/1.078, allocations: 28 kB / 1.46 GB, free: 11.26 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007561/1.079, allocations: 0.6278 MB / 1.46 GB, free: 10.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.46 GB, free: 10.63 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007334/1.08, allocations: 243.7 kB / 1.46 GB, free: 10.39 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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.001861/1.082, allocations: 1.664 MB / 1.462 GB, free: 8.633 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009462/1.083, allocations: 466.8 kB / 1.463 GB, free: 8.172 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.083, allocations: 0 / 1.463 GB, free: 8.172 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/1.083, allocations: 237.4 kB / 1.463 GB, free: 7.941 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.085, allocations: 482.6 kB / 1.463 GB, free: 7.473 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/1.094, allocations: 6.618 MB / 1.47 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/1.095, allocations: 1.008 MB / 1.471 GB, free: 15.52 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007144/1.095, allocations: 187.1 kB / 1.471 GB, free: 15.33 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.096, allocations: 295.3 kB / 1.471 GB, free: 15.04 MB / 1.201 GB Notification: Performance of SimCode: time 7.71e-07/1.096, allocations: 3.938 kB / 1.471 GB, free: 15.04 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/1.147, allocations: 24.29 MB / 1.495 GB, free: 7.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.03/10.18, allocations: 9.562 kB / 1.495 GB, free: 7.066 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches