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 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.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.001646/0.001646, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002146/0.002146, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.826/2.826, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 70 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.235/0.618, allocations: 196.1 MB / 1.244 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6937/1.312, allocations: 9.371 MB / 1.253 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/1.313, allocations: 17.06 kB / 1.253 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/1.315, allocations: 0.5423 MB / 1.254 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/1.319, allocations: 1.901 MB / 1.255 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/1.322, allocations: 0.6714 MB / 1.256 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002522/1.324, allocations: 2.113 MB / 1.258 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/1.325, allocations: 0.7222 MB / 1.259 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/1.328, allocations: 1.369 MB / 1.26 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.329, allocations: 0.7778 MB / 1.261 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/1.329, allocations: 72.25 kB / 1.261 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/1.334, allocations: 2 MB / 1.263 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005473/1.334, allocations: 354.9 kB / 1.263 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006981/1.335, allocations: 0.5007 MB / 1.264 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/1.339, allocations: 1.947 MB / 1.266 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.339, allocations: 1.484 kB / 1.266 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.339, allocations: 4.828 kB / 1.266 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.339, allocations: 0.8125 kB / 1.266 GB, free: 2.289 MB / 0.9981 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.004093/1.343, allocations: 1.43 MB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.343, allocations: 11.06 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/1.343, allocations: 121.4 kB / 1.267 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/1.344, allocations: 151.2 kB / 1.267 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.345, allocations: 0.5612 MB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/1.345, allocations: 57.42 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.345, allocations: 71.42 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/1.347, allocations: 0.8604 MB / 1.269 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.347, allocations: 0 / 1.269 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/1.347, allocations: 29.2 kB / 1.269 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.886e-05/1.347, allocations: 54.98 kB / 1.269 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/1.348, allocations: 0.7704 MB / 1.27 GB, free: 17.06 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.006332/1.355, allocations: 4.513 MB / 1.274 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.356, allocations: 424.6 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/1.356, allocations: 189.4 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/1.357, allocations: 0.7621 MB / 1.276 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/1.357, allocations: 38.25 kB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 4.218e-06/1.357, allocations: 0 / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001488/1.359, allocations: 0.6092 MB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.359, allocations: 56.53 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.36, allocations: 0.8639 MB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/1.36, allocations: 32.89 kB / 1.277 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/1.36, allocations: 385.8 kB / 1.277 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.36, allocations: 143.3 kB / 1.278 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/1.36, allocations: 99.92 kB / 1.278 GB, free: 12.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.361, allocations: 327 kB / 1.278 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/1.361, allocations: 185.2 kB / 1.278 GB, free: 12.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/1.361, allocations: 276.4 kB / 1.278 GB, free: 12.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/1.362, allocations: 450.9 kB / 1.279 GB, free: 11.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.362, allocations: 6.828 kB / 1.279 GB, free: 11.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001062/1.363, allocations: 0.5787 MB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.363, allocations: 6.969 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.363, allocations: 4.047 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.363, allocations: 4.719 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/1.364, allocations: 101.2 kB / 1.28 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.364, allocations: 8.109 kB / 1.28 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/1.365, allocations: 101.4 kB / 1.28 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/1.365, allocations: 22.17 kB / 1.28 GB, free: 11.81 MB / 1.014 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.0003377/1.365, allocations: 247.4 kB / 1.28 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.365, allocations: 78.91 kB / 1.28 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.366, allocations: 0.5588 MB / 1.281 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/1.366, allocations: 7.094 kB / 1.281 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.366, allocations: 0 / 1.281 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.366, allocations: 3.594 kB / 1.281 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/1.37, allocations: 2.114 MB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.37, allocations: 6.312 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/1.37, allocations: 94.66 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.37, allocations: 9.594 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/1.37, allocations: 13.88 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/1.37, allocations: 14.5 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.37, allocations: 16.77 kB / 1.283 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.371, allocations: 0.9795 MB / 1.284 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/1.372, allocations: 211.3 kB / 1.284 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.372, allocations: 24.28 kB / 1.284 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/1.373, allocations: 49.58 kB / 1.284 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.373, allocations: 53.91 kB / 1.284 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/1.373, allocations: 19.56 kB / 1.284 GB, free: 10.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008404/1.374, allocations: 0.6272 MB / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.374, allocations: 0 / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009672/1.375, allocations: 244.3 kB / 1.285 GB, free: 10.2 MB / 1.014 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.002073/1.377, allocations: 1.66 MB / 1.287 GB, free: 9.254 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009094/1.378, allocations: 468.9 kB / 1.287 GB, free: 9.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.378, allocations: 4.375 kB / 1.287 GB, free: 9.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/1.378, allocations: 231.2 kB / 1.287 GB, free: 9.242 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.38, allocations: 0.4892 MB / 1.288 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.39, allocations: 7.139 MB / 1.295 GB, free: 6.297 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/1.391, allocations: 1.01 MB / 1.296 GB, free: 5.598 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001003/1.392, allocations: 188.3 kB / 1.296 GB, free: 5.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/1.393, allocations: 293.1 kB / 1.296 GB, free: 5.555 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.393, allocations: 1.281 kB / 1.296 GB, free: 5.555 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/1.44, allocations: 23.87 MB / 1.319 GB, free: 2.559 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.441, allocations: 250.7 kB / 1.32 GB, free: 2.305 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/4.012, allocations: 1.203 kB / 1.32 GB, free: 2.305 MB / 1.014 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=50 --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