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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008702/0.0008737, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005057/0.005057, allocations: 170 kB / 16.26 MB, free: 6.613 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.6 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 16.17 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1727/0.405, allocations: 193.8 MB / 1.248 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4693/0.8744, allocations: 9.375 MB / 1.257 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.8753, allocations: 15.31 kB / 1.257 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.8766, allocations: 0.5298 MB / 1.258 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.8806, allocations: 1.897 MB / 1.26 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.8823, allocations: 0.6607 MB / 1.26 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002937/0.8852, allocations: 3.18 MB / 1.263 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000883/0.8861, allocations: 0.6314 MB / 1.264 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.8882, allocations: 1.237 MB / 1.265 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008128/0.889, allocations: 0.7621 MB / 1.266 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.8891, allocations: 45.14 kB / 1.266 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.8922, allocations: 2.221 MB / 1.268 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.8926, allocations: 320.4 kB / 1.268 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.8931, allocations: 0.4904 MB / 1.269 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.8958, allocations: 1.922 MB / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.8958, allocations: 0 / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8958, allocations: 0 / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.8958, allocations: 3.625 kB / 1.271 GB, free: 2.086 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.003049/0.8989, allocations: 1.268 MB / 1.272 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8989, allocations: 13.16 kB / 1.272 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.899, allocations: 117.7 kB / 1.272 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/0.8996, allocations: 150.7 kB / 1.272 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007156/0.9003, allocations: 0.5628 MB / 1.273 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.9004, allocations: 50.78 kB / 1.273 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.9005, allocations: 74.25 kB / 1.273 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.9018, allocations: 0.8631 MB / 1.274 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.9018, allocations: 0.625 kB / 1.274 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.9019, allocations: 31.27 kB / 1.274 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.9019, allocations: 51.16 kB / 1.274 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.9034, allocations: 0.7814 MB / 1.275 GB, free: 16.85 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.004785/0.9081, allocations: 4.525 MB / 1.279 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.9088, allocations: 428 kB / 1.279 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.9091, allocations: 191.8 kB / 1.28 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.9097, allocations: 0.7632 MB / 1.28 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.9097, allocations: 36.14 kB / 1.28 GB, free: 12.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.9097, allocations: 4 kB / 1.28 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001103/0.9108, allocations: 0.6163 MB / 1.281 GB, free: 12.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.9109, allocations: 57.84 kB / 1.281 GB, free: 12.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/0.9118, allocations: 0.8704 MB / 1.282 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.9119, allocations: 31.89 kB / 1.282 GB, free: 12.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.9121, allocations: 392.2 kB / 1.282 GB, free: 12.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.9122, allocations: 139.2 kB / 1.282 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.9123, allocations: 44.97 kB / 1.283 GB, free: 12.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.9124, allocations: 326.7 kB / 1.283 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.9127, allocations: 190 kB / 1.283 GB, free: 11.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.913, allocations: 282.4 kB / 1.283 GB, free: 11.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.9137, allocations: 458.9 kB / 1.284 GB, free: 11.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9137, allocations: 3.734 kB / 1.284 GB, free: 11.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008448/0.9145, allocations: 0.5903 MB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9145, allocations: 9.406 kB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9146, allocations: 4.719 kB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9146, allocations: 5.031 kB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.915, allocations: 102.8 kB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.915, allocations: 3.5 kB / 1.284 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.9157, allocations: 106.3 kB / 1.285 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.9157, allocations: 21.48 kB / 1.285 GB, free: 11.55 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.0002479/0.916, allocations: 244.4 kB / 1.285 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.9161, allocations: 78.59 kB / 1.285 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.917, allocations: 0.5706 MB / 1.285 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.917, allocations: 11.22 kB / 1.285 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.917, allocations: 1.906 kB / 1.285 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.917, allocations: 2.906 kB / 1.285 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.9197, allocations: 2.133 MB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9197, allocations: 6.219 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.9201, allocations: 91.55 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.9201, allocations: 8.562 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.9201, allocations: 21.84 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.9201, allocations: 15.64 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9201, allocations: 13 kB / 1.288 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.9213, allocations: 0.9866 MB / 1.289 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.9216, allocations: 225.6 kB / 1.289 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.9217, allocations: 27.53 kB / 1.289 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.9222, allocations: 51.23 kB / 1.289 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.9223, allocations: 39.98 kB / 1.289 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.9223, allocations: 22.34 kB / 1.289 GB, free: 10.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006404/0.923, allocations: 0.6308 MB / 1.29 GB, free: 9.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.923, allocations: 0 / 1.29 GB, free: 9.914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007095/0.9237, allocations: 243.1 kB / 1.29 GB, free: 9.895 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.0017/0.9254, allocations: 1.669 MB / 1.291 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006841/0.9261, allocations: 451.4 kB / 1.292 GB, free: 8.922 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.9261, allocations: 5.281 kB / 1.292 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.9264, allocations: 234.2 kB / 1.292 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.929, allocations: 491.2 kB / 1.293 GB, free: 8.871 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.9371, allocations: 7.199 MB / 1.3 GB, free: 5.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.9376, allocations: 1.004 MB / 1.301 GB, free: 5.191 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000684/0.9383, allocations: 187.8 kB / 1.301 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.9386, allocations: 295.5 kB / 1.301 GB, free: 5.133 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/0.9386, allocations: 2.906 kB / 1.301 GB, free: 5.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.265/3.203, allocations: 23 MB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/3.203, allocations: 244.9 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/5.23, allocations: 0 / 1.324 GB, free: 256 kB / 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