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: translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001322, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 183.7 kB / 16.92 MB, free: 6.906 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.141/1.141, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.186/2.186, allocations: 443.2 MB / 0.7181 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 8.812 kB / 0.8801 GB, free: 42.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2028, allocations: 155.2 MB / 1.032 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.164/0.3669, allocations: 193.8 MB / 1.221 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009657/0.3765, allocations: 9.395 MB / 1.23 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/0.3772, allocations: 15.94 kB / 1.23 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.3784, allocations: 0.5209 MB / 1.231 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.3822, allocations: 1.899 MB / 1.232 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3837, allocations: 0.6681 MB / 1.233 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3866, allocations: 3.177 MB / 1.236 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.3875, allocations: 0.6293 MB / 1.237 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.3895, allocations: 1.245 MB / 1.238 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008898/0.3905, allocations: 0.7549 MB / 1.239 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.029e-05/0.3905, allocations: 40 kB / 1.239 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.3935, allocations: 2.225 MB / 1.241 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.3938, allocations: 327 kB / 1.241 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.3942, allocations: 0.4915 MB / 1.242 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3956, allocations: 1.298 MB / 1.243 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.3956, allocations: 0 / 1.243 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3956, allocations: 0 / 1.243 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3956, allocations: 0 / 1.243 GB, free: 11.52 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.002745/0.3984, allocations: 1.27 MB / 1.244 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.3984, allocations: 19.86 kB / 1.244 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.399, allocations: 146.7 kB / 1.244 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.3996, allocations: 0.5643 MB / 1.245 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.3997, allocations: 57.98 kB / 1.245 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.967e-05/0.3998, allocations: 72 kB / 1.245 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4009, allocations: 0.8626 MB / 1.246 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.401, allocations: 0 / 1.246 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.401, allocations: 31.98 kB / 1.246 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.4011, allocations: 49.98 kB / 1.246 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.4023, allocations: 0.7768 MB / 1.247 GB, free: 7.555 MB / 0.9981 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.00416/0.4064, allocations: 4.518 MB / 1.251 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.4071, allocations: 433.4 kB / 1.252 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.4074, allocations: 189.4 kB / 1.252 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.408, allocations: 0.76 MB / 1.253 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.408, allocations: 42.89 kB / 1.253 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.408, allocations: 0 / 1.253 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00112/0.4091, allocations: 0.6231 MB / 1.253 GB, free: 276 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4092, allocations: 59.34 kB / 1.253 GB, free: 204 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3854/0.7946, allocations: 0.8627 MB / 1.254 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.7947, allocations: 34.27 kB / 1.254 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.795, allocations: 388.3 kB / 1.254 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.7951, allocations: 141.4 kB / 1.255 GB, free: 223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.7951, allocations: 43.56 kB / 1.255 GB, free: 223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.7952, allocations: 322.5 kB / 1.255 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.7955, allocations: 191.4 kB / 1.255 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.7958, allocations: 278.2 kB / 1.255 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.7964, allocations: 464.9 kB / 1.256 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7964, allocations: 2.688 kB / 1.256 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008483/0.7972, allocations: 0.5935 MB / 1.256 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7973, allocations: 6.562 kB / 1.256 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7973, allocations: 6.875 kB / 1.256 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7973, allocations: 2.938 kB / 1.256 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.7977, allocations: 103.7 kB / 1.257 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.7977, allocations: 7.469 kB / 1.257 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.7983, allocations: 105.6 kB / 1.257 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.7984, allocations: 20.48 kB / 1.257 GB, free: 222.4 MB / 0.9981 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.0002339/0.7986, allocations: 243 kB / 1.257 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.7987, allocations: 83.94 kB / 1.257 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.7996, allocations: 0.559 MB / 1.258 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.7996, allocations: 9.469 kB / 1.258 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7996, allocations: 0 / 1.258 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.7996, allocations: 6.609 kB / 1.258 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.8025, allocations: 2.13 MB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.8025, allocations: 5.906 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.8029, allocations: 92.05 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.8029, allocations: 8.719 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.803, allocations: 16.58 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.803, allocations: 13.58 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.803, allocations: 11.34 kB / 1.26 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.8042, allocations: 0.994 MB / 1.261 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.8045, allocations: 226.9 kB / 1.261 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.8046, allocations: 15.08 kB / 1.261 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.8052, allocations: 49.02 kB / 1.261 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.8053, allocations: 52.86 kB / 1.261 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.8053, allocations: 23.06 kB / 1.261 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007778/0.8061, allocations: 0.625 MB / 1.262 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8061, allocations: 0 / 1.262 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000706/0.8068, allocations: 250.4 kB / 1.262 GB, free: 220.8 MB / 0.9981 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.0003989/0.8072, allocations: 239.9 kB / 1.262 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00081/0.808, allocations: 449.4 kB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8081, allocations: 4.938 kB / 1.263 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.8085, allocations: 234.2 kB / 1.263 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8111, allocations: 487.6 kB / 1.263 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.8132, allocations: 1.944 MB / 1.265 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.8137, allocations: 1.005 MB / 1.266 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.8139, allocations: 69.34 kB / 1.266 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8139, allocations: 0 / 1.266 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01703/0.8309, allocations: 14.02 MB / 1.28 GB, free: 214.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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