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.001023/0.001024, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007881/0.007881, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.468/1.468, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.865/2.865, allocations: 462.6 MB / 0.7363 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003864, allocations: 9.844 kB / 0.9027 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3731, allocations: 159.6 MB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.209/0.5822, allocations: 193.8 MB / 1.248 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.761/1.343, allocations: 9.384 MB / 1.257 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008047/1.344, allocations: 15.44 kB / 1.257 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.346, allocations: 0.5161 MB / 1.258 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005476/1.351, allocations: 1.902 MB / 1.259 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/1.353, allocations: 0.6591 MB / 1.26 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003804/1.357, allocations: 3.182 MB / 1.263 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/1.358, allocations: 0.6293 MB / 1.264 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/1.361, allocations: 1.241 MB / 1.265 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/1.362, allocations: 0.7583 MB / 1.266 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/1.362, allocations: 43.91 kB / 1.266 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/1.366, allocations: 2.222 MB / 1.268 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/1.367, allocations: 322.2 kB / 1.268 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000855/1.368, allocations: 0.4885 MB / 1.269 GB, free: 18.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/1.372, allocations: 1.926 MB / 1.271 GB, free: 18.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/1.372, allocations: 0.7188 kB / 1.271 GB, free: 18.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.372, allocations: 0 / 1.271 GB, free: 18.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.372, allocations: 0.6562 kB / 1.271 GB, free: 18.3 MB / 1.014 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.003463/1.375, allocations: 1.264 MB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.375, allocations: 15.45 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/1.376, allocations: 152 kB / 1.272 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/1.377, allocations: 0.5641 MB / 1.273 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/1.377, allocations: 52.56 kB / 1.273 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.377, allocations: 71.5 kB / 1.273 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.378, allocations: 0.8701 MB / 1.274 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.378, allocations: 0 / 1.274 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/1.379, allocations: 30.58 kB / 1.274 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/1.379, allocations: 50.48 kB / 1.274 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/1.38, allocations: 0.776 MB / 1.274 GB, free: 17.1 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.005417/1.386, allocations: 4.527 MB / 1.279 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/1.386, allocations: 424 kB / 1.279 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/1.387, allocations: 197.2 kB / 1.279 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/1.387, allocations: 0.7643 MB / 1.28 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.387, allocations: 37.22 kB / 1.28 GB, free: 12.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/1.387, allocations: 0 / 1.28 GB, free: 12.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001253/1.389, allocations: 0.6188 MB / 1.281 GB, free: 12.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.389, allocations: 58.8 kB / 1.281 GB, free: 12.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.39, allocations: 0.8659 MB / 1.282 GB, free: 12.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/1.39, allocations: 37.48 kB / 1.282 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/1.39, allocations: 392.3 kB / 1.282 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.391, allocations: 140.4 kB / 1.282 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/1.391, allocations: 43.55 kB / 1.282 GB, free: 12.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.391, allocations: 323.9 kB / 1.283 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/1.391, allocations: 184.9 kB / 1.283 GB, free: 12.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/1.392, allocations: 287.6 kB / 1.283 GB, free: 12.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/1.392, allocations: 454.2 kB / 1.283 GB, free: 11.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.392, allocations: 5.344 kB / 1.283 GB, free: 11.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009735/1.393, allocations: 0.5936 MB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.393, allocations: 7.875 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.393, allocations: 6.75 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.393, allocations: 8.344 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/1.394, allocations: 103 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.394, allocations: 5.188 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/1.395, allocations: 103.9 kB / 1.284 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.395, allocations: 19.5 kB / 1.284 GB, free: 11.8 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.0003337/1.395, allocations: 245 kB / 1.285 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.395, allocations: 77.78 kB / 1.285 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/1.396, allocations: 0.5691 MB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.396, allocations: 4.25 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.396, allocations: 0 / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.396, allocations: 8.328 kB / 1.285 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/1.399, allocations: 2.134 MB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.399, allocations: 5.906 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/1.4, allocations: 93.42 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.4, allocations: 8.906 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.4, allocations: 14.28 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.4, allocations: 14.66 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.4, allocations: 17.47 kB / 1.287 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.401, allocations: 0.987 MB / 1.288 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/1.401, allocations: 227.3 kB / 1.289 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.401, allocations: 17.09 kB / 1.289 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/1.402, allocations: 54.62 kB / 1.289 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/1.402, allocations: 50.73 kB / 1.289 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/1.402, allocations: 23.44 kB / 1.289 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007843/1.403, allocations: 0.6234 MB / 1.289 GB, free: 10.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.403, allocations: 0 / 1.289 GB, free: 10.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000828/1.404, allocations: 245.1 kB / 1.29 GB, free: 10.15 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.0005251/1.404, allocations: 239.2 kB / 1.29 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007778/1.405, allocations: 458.8 kB / 1.29 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.405, allocations: 1.469 kB / 1.29 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/1.406, allocations: 236.4 kB / 1.29 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/1.408, allocations: 483.8 kB / 1.291 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.411, allocations: 1.884 MB / 1.293 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/1.411, allocations: 1.01 MB / 1.294 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007174/1.412, allocations: 189.8 kB / 1.294 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.412, allocations: 65.81 kB / 1.294 GB, free: 8.125 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/1.412, allocations: 0 / 1.294 GB, free: 8.125 MB / 1.014 GB Notification: Performance of Templates: time 0.02825/1.441, allocations: 16.32 MB / 1.31 GB, free: 7.141 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches