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.001648/0.001648, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001695/0.001695, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.608/1.608, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.559/2.559, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 60.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3715, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.8639/1.236, allocations: 198.7 MB / 1.221 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01278/1.248, allocations: 9.45 MB / 1.23 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/1.25, allocations: 20.81 kB / 1.23 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/1.252, allocations: 0.6105 MB / 1.231 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005475/1.257, allocations: 2.021 MB / 1.233 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/1.26, allocations: 0.7406 MB / 1.233 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002994/1.263, allocations: 2.108 MB / 1.235 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.264, allocations: 0.7518 MB / 1.236 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/1.266, allocations: 1.374 MB / 1.237 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/1.267, allocations: 0.7276 MB / 1.238 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/1.267, allocations: 72 kB / 1.238 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/1.271, allocations: 1.937 MB / 1.24 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/1.272, allocations: 355 kB / 1.24 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005633/1.272, allocations: 0.4938 MB / 1.241 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/1.276, allocations: 1.85 MB / 1.243 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.276, allocations: 0 / 1.243 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/1.276, allocations: 0 / 1.243 GB, free: 196 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.276, allocations: 0 / 1.243 GB, free: 196 kB / 0.9356 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.003361/1.279, allocations: 1.432 MB / 1.244 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.279, allocations: 12.02 kB / 1.244 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006086/1.28, allocations: 150.7 kB / 1.244 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/1.281, allocations: 0.5799 MB / 1.245 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/1.281, allocations: 53.98 kB / 1.245 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.281, allocations: 68 kB / 1.245 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.282, allocations: 0.8665 MB / 1.246 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.282, allocations: 0 / 1.246 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/1.282, allocations: 31.98 kB / 1.246 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/1.282, allocations: 45.98 kB / 1.246 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.284, allocations: 0.769 MB / 1.247 GB, free: 12.07 MB / 0.9512 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.004894/1.289, allocations: 4.516 MB / 1.251 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/1.289, allocations: 431.7 kB / 1.251 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/1.29, allocations: 197.3 kB / 1.252 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/1.29, allocations: 0.7561 MB / 1.252 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.29, allocations: 42.89 kB / 1.252 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/1.29, allocations: 0 / 1.252 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.001302/1.292, allocations: 0.595 MB / 1.253 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.292, allocations: 59.34 kB / 1.253 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/1.293, allocations: 0.8641 MB / 1.254 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/1.293, allocations: 41.7 kB / 1.254 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/1.293, allocations: 379.7 kB / 1.254 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/1.293, allocations: 142 kB / 1.254 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/1.293, allocations: 98.14 kB / 1.254 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.293, allocations: 326 kB / 1.255 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/1.294, allocations: 184.9 kB / 1.255 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/1.294, allocations: 285.5 kB / 1.255 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/1.295, allocations: 450.6 kB / 1.256 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.295, allocations: 4 kB / 1.256 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000927/1.296, allocations: 0.5817 MB / 1.256 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.296, allocations: 10.34 kB / 1.256 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.296, allocations: 0.625 kB / 1.256 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.296, allocations: 8 kB / 1.256 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/1.296, allocations: 99.83 kB / 1.256 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.296, allocations: 11.88 kB / 1.256 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/1.297, allocations: 79.67 kB / 1.256 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/1.297, allocations: 23.98 kB / 1.256 GB, free: 1.109 MB / 0.9512 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.0002936/1.297, allocations: 237.8 kB / 1.257 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.297, allocations: 79.06 kB / 1.257 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009284/1.298, allocations: 0.5553 MB / 1.257 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.298, allocations: 4 kB / 1.257 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.298, allocations: 9.062 kB / 1.257 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.298, allocations: 3.984 kB / 1.257 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/1.301, allocations: 2.108 MB / 1.259 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.302, allocations: 15.97 kB / 1.259 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/1.302, allocations: 91.83 kB / 1.259 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.302, allocations: 8 kB / 1.259 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/1.302, allocations: 16 kB / 1.26 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/1.302, allocations: 15.92 kB / 1.26 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.302, allocations: 4.875 kB / 1.26 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.303, allocations: 0.9873 MB / 1.26 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/1.304, allocations: 216 kB / 1.261 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.304, allocations: 12 kB / 1.261 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/1.304, allocations: 23.98 kB / 1.261 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/1.304, allocations: 47.83 kB / 1.261 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/1.304, allocations: 20 kB / 1.261 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007435/1.305, allocations: 0.6316 MB / 1.261 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.305, allocations: 0 / 1.261 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007281/1.306, allocations: 251.6 kB / 1.262 GB, free: 11.49 MB / 0.9669 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.0004786/1.306, allocations: 234.4 kB / 1.262 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007875/1.307, allocations: 460.1 kB / 1.262 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.307, allocations: 4 kB / 1.262 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/1.308, allocations: 236.9 kB / 1.263 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.309, allocations: 0.4887 MB / 1.263 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/1.312, allocations: 1.534 MB / 1.265 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/1.312, allocations: 1.016 MB / 1.266 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005773/1.313, allocations: 187 kB / 1.266 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/1.313, allocations: 63.42 kB / 1.266 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/1.313, allocations: 0 / 1.266 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of Templates: time 0.02886/1.342, allocations: 17.12 MB / 1.282 GB, free: 6.246 MB / 0.9825 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 -s cvode -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