Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009315/0.0009317, allocations: 98.88 kB / 16.02 MB, free: 76 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.001133/0.001133, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7617, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2159/0.9777, allocations: 193.8 MB / 1.213 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.9914, allocations: 9.391 MB / 1.222 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.9928, allocations: 11.94 kB / 1.222 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.9948, allocations: 0.5287 MB / 1.223 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006211/1.001, allocations: 1.899 MB / 1.225 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/1.004, allocations: 0.6589 MB / 1.225 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004071/1.008, allocations: 3.177 MB / 1.228 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/1.009, allocations: 0.6254 MB / 1.229 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/1.012, allocations: 1.249 MB / 1.23 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/1.014, allocations: 0.7548 MB / 1.231 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002853/1.014, allocations: 44 kB / 1.231 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/1.019, allocations: 2.229 MB / 1.233 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000738/1.02, allocations: 323 kB / 1.233 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/1.021, allocations: 0.4915 MB / 1.234 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/1.024, allocations: 1.298 MB / 1.235 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.024, allocations: 0 / 1.235 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.685e-06/1.024, allocations: 4 kB / 1.235 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.593e-05/1.024, allocations: 0 / 1.235 GB, free: 6.598 MB / 0.9825 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.003913/1.028, allocations: 1.263 MB / 1.236 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.028, allocations: 11.98 kB / 1.236 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/1.029, allocations: 150.7 kB / 1.236 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.03, allocations: 0.5682 MB / 1.237 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/1.03, allocations: 61.97 kB / 1.237 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.03, allocations: 64 kB / 1.237 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.032, allocations: 0.8665 MB / 1.238 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.032, allocations: 4 kB / 1.238 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/1.032, allocations: 31.98 kB / 1.238 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/1.032, allocations: 45.98 kB / 1.238 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/1.033, allocations: 0.7768 MB / 1.239 GB, free: 2.645 MB / 0.9825 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.005705/1.039, allocations: 4.533 MB / 1.243 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/1.04, allocations: 417.5 kB / 1.244 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/1.04, allocations: 201.4 kB / 1.244 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.041, allocations: 0.7561 MB / 1.245 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/1.041, allocations: 38.88 kB / 1.245 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 3.778e-06/1.041, allocations: 3.984 kB / 1.245 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.001396/1.043, allocations: 0.6192 MB / 1.245 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.043, allocations: 59.41 kB / 1.245 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.044, allocations: 0.8642 MB / 1.246 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/1.044, allocations: 33.7 kB / 1.246 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/1.044, allocations: 391.6 kB / 1.247 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/1.044, allocations: 138 kB / 1.247 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/1.044, allocations: 41.7 kB / 1.247 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.045, allocations: 330 kB / 1.247 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/1.045, allocations: 185 kB / 1.247 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/1.045, allocations: 281.6 kB / 1.247 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/1.046, allocations: 458.6 kB / 1.248 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.046, allocations: 0 / 1.248 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001143/1.047, allocations: 0.5972 MB / 1.249 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.047, allocations: 4 kB / 1.249 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.047, allocations: 4 kB / 1.249 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.047, allocations: 7.938 kB / 1.249 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/1.048, allocations: 103.8 kB / 1.249 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.048, allocations: 4.219 kB / 1.249 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/1.049, allocations: 103.1 kB / 1.249 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/1.049, allocations: 31.92 kB / 1.249 GB, free: 7.656 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.0003627/1.049, allocations: 245.6 kB / 1.249 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.049, allocations: 79.06 kB / 1.249 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/1.05, allocations: 0.5671 MB / 1.25 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.05, allocations: 7.938 kB / 1.25 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.05, allocations: 0 / 1.25 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.05, allocations: 3.984 kB / 1.25 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/1.054, allocations: 2.145 MB / 1.252 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.054, allocations: 12.03 kB / 1.252 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/1.055, allocations: 83.91 kB / 1.252 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/1.055, allocations: 8 kB / 1.252 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/1.055, allocations: 19.98 kB / 1.252 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/1.055, allocations: 15.94 kB / 1.252 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.055, allocations: 7.938 kB / 1.252 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.056, allocations: 0.9912 MB / 1.253 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.056, allocations: 219.9 kB / 1.253 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.057, allocations: 19.94 kB / 1.253 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/1.057, allocations: 55.95 kB / 1.253 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.057, allocations: 55.77 kB / 1.253 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/1.057, allocations: 19.94 kB / 1.253 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008858/1.058, allocations: 0.6239 MB / 1.254 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.058, allocations: 0 / 1.254 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008369/1.059, allocations: 243.7 kB / 1.254 GB, free: 1.949 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.0005349/1.06, allocations: 241.4 kB / 1.254 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008988/1.061, allocations: 454.3 kB / 1.255 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.061, allocations: 4 kB / 1.255 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/1.061, allocations: 232.8 kB / 1.255 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.064, allocations: 488.6 kB / 1.255 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5214/1.586, allocations: 1.939 MB / 1.257 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/1.586, allocations: 1.006 MB / 1.258 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.587, allocations: 69.8 kB / 1.258 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.587, allocations: 0.875 kB / 1.258 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03188/1.619, allocations: 14.02 MB / 1.272 GB, free: 228 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches