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.004275/0.004275, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001212/0.001212, allocations: 188 kB / 16.67 MB, free: 5.93 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.505/2.505, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.42 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2503, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1878/0.4382, allocations: 198.7 MB / 1.436 GB, free: 1.492 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.449, allocations: 9.451 MB / 1.445 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/0.4495, allocations: 23.88 kB / 1.445 GB, free: 7.988 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.4509, allocations: 0.6059 MB / 1.446 GB, free: 7.379 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.4548, allocations: 2.015 MB / 1.448 GB, free: 5.359 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4564, allocations: 0.743 MB / 1.448 GB, free: 4.617 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.4585, allocations: 2.093 MB / 1.45 GB, free: 2.516 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.4594, allocations: 0.7596 MB / 1.451 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.4618, allocations: 1.502 MB / 1.453 GB, free: 236 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.4626, allocations: 0.7159 MB / 1.453 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.4628, allocations: 72 kB / 1.453 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.4657, allocations: 1.933 MB / 1.455 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.4661, allocations: 343 kB / 1.456 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.4666, allocations: 0.5015 MB / 1.456 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.469, allocations: 1.857 MB / 1.458 GB, free: 10.8 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.469, allocations: 0 / 1.458 GB, free: 10.8 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.085e-06/0.469, allocations: 0 / 1.458 GB, free: 10.8 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.469, allocations: 3.938 kB / 1.458 GB, free: 10.8 MB / 1.186 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.003102/0.4721, allocations: 1.467 MB / 1.459 GB, free: 9.277 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4722, allocations: 11.97 kB / 1.459 GB, free: 9.266 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.4723, allocations: 118.5 kB / 1.459 GB, free: 9.141 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.4729, allocations: 159.2 kB / 1.46 GB, free: 8.984 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.4737, allocations: 0.5805 MB / 1.46 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.4737, allocations: 50 kB / 1.46 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.4738, allocations: 71.88 kB / 1.46 GB, free: 8.238 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.4751, allocations: 0.8704 MB / 1.461 GB, free: 7.348 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4751, allocations: 0 / 1.461 GB, free: 7.348 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.4752, allocations: 28 kB / 1.461 GB, free: 7.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.4752, allocations: 53.95 kB / 1.461 GB, free: 7.266 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.4765, allocations: 0.7728 MB / 1.462 GB, free: 6.492 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.4812, allocations: 4.519 MB / 1.466 GB, free: 1.43 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.4819, allocations: 411.9 kB / 1.467 GB, free: 1.02 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.4822, allocations: 197.4 kB / 1.467 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006714/0.4829, allocations: 0.76 MB / 1.468 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4829, allocations: 42.89 kB / 1.468 GB, free: 15.85 MB / 1.201 GB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.4829, allocations: 3.938 kB / 1.468 GB, free: 15.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.001191/0.4841, allocations: 0.6109 MB / 1.468 GB, free: 15.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.4842, allocations: 59.39 kB / 1.468 GB, free: 15.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/0.4852, allocations: 0.8642 MB / 1.469 GB, free: 14.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.4852, allocations: 37.7 kB / 1.469 GB, free: 14.24 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.4855, allocations: 384.3 kB / 1.47 GB, free: 13.86 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4856, allocations: 150.7 kB / 1.47 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.4858, allocations: 102.2 kB / 1.47 GB, free: 13.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4859, allocations: 322 kB / 1.47 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.4863, allocations: 181 kB / 1.47 GB, free: 13.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.4867, allocations: 285.5 kB / 1.471 GB, free: 12.81 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.4874, allocations: 450.6 kB / 1.471 GB, free: 12.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4874, allocations: 0 / 1.471 GB, free: 12.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000941/0.4883, allocations: 0.59 MB / 1.472 GB, free: 11.74 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4883, allocations: 8 kB / 1.472 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4883, allocations: 0 / 1.472 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4884, allocations: 7.938 kB / 1.472 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.4888, allocations: 99.89 kB / 1.472 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4888, allocations: 4 kB / 1.472 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.4893, allocations: 75.39 kB / 1.472 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.4894, allocations: 27.92 kB / 1.472 GB, free: 11.52 MB / 1.201 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.0002629/0.4897, allocations: 237.8 kB / 1.472 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4898, allocations: 83.48 kB / 1.472 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.4907, allocations: 0.567 MB / 1.473 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4907, allocations: 4 kB / 1.473 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4908, allocations: 0 / 1.473 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4908, allocations: 12.08 kB / 1.473 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.4936, allocations: 2.121 MB / 1.475 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4937, allocations: 4 kB / 1.475 GB, free: 8.309 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.494, allocations: 99.92 kB / 1.475 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4941, allocations: 11.94 kB / 1.475 GB, free: 8.199 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4941, allocations: 12 kB / 1.475 GB, free: 8.188 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.4941, allocations: 11.98 kB / 1.475 GB, free: 8.176 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4941, allocations: 11.94 kB / 1.475 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4954, allocations: 0.9877 MB / 1.476 GB, free: 7.082 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.4956, allocations: 220.4 kB / 1.476 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4957, allocations: 20 kB / 1.476 GB, free: 6.828 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.4962, allocations: 23.98 kB / 1.476 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.4963, allocations: 47.77 kB / 1.476 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.4963, allocations: 24 kB / 1.476 GB, free: 6.734 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000701/0.497, allocations: 0.6239 MB / 1.477 GB, free: 6.113 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.497, allocations: 0 / 1.477 GB, free: 6.113 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006202/0.4976, allocations: 247.6 kB / 1.477 GB, free: 5.871 MB / 1.201 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.001823/0.4995, allocations: 1.657 MB / 1.479 GB, free: 4.109 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007535/0.5002, allocations: 462.5 kB / 1.479 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5002, allocations: 0 / 1.479 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.5006, allocations: 237.6 kB / 1.479 GB, free: 3.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.5026, allocations: 489.8 kB / 1.48 GB, free: 2.957 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007887/0.5105, allocations: 6.609 MB / 1.486 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.5111, allocations: 1.008 MB / 1.487 GB, free: 11.01 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005271/0.5117, allocations: 183.1 kB / 1.487 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.5121, allocations: 299.3 kB / 1.488 GB, free: 10.53 MB / 1.217 GB Notification: Performance of SimCode: time 3.1e-07/0.5121, allocations: 0 / 1.488 GB, free: 10.53 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3304/0.8425, allocations: 24.29 MB / 1.511 GB, free: 2.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/9.985, allocations: 7.859 kB / 1.512 GB, free: 2.566 MB / 1.232 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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