Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001575/0.001575, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.518/1.518, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002532, allocations: 73.09 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.114, allocations: 162.2 MB / 1.083 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2676/1.382, allocations: 167 MB / 1.246 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01728/1.399, allocations: 8.495 MB / 1.254 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/1.401, allocations: 39.81 kB / 1.254 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/1.403, allocations: 0.5667 MB / 1.255 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005102/1.408, allocations: 1.539 MB / 1.256 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/1.412, allocations: 0.9944 MB / 1.257 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005834/1.417, allocations: 4.105 MB / 1.261 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/1.42, allocations: 1.311 MB / 1.263 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/1.424, allocations: 1.57 MB / 1.264 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/1.427, allocations: 1.507 MB / 1.266 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007357/1.428, allocations: 188 kB / 1.266 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/1.431, allocations: 1.096 MB / 1.267 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008371/1.432, allocations: 0.6662 MB / 1.268 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/1.434, allocations: 1.038 MB / 1.269 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/1.438, allocations: 2.734 MB / 1.271 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/1.438, allocations: 3.984 kB / 1.271 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.504e-06/1.438, allocations: 0 / 1.271 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.791e-05/1.438, allocations: 0 / 1.271 GB, free: 13.68 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004936/1.443, allocations: 2.266 MB / 1.273 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.443, allocations: 8.031 kB / 1.273 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/1.444, allocations: 190.8 kB / 1.274 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.446, allocations: 1.15 MB / 1.275 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/1.446, allocations: 111 kB / 1.275 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/1.446, allocations: 151.9 kB / 1.275 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/1.449, allocations: 1.923 MB / 1.277 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/1.45, allocations: 4 kB / 1.277 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.45, allocations: 64 kB / 1.277 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/1.45, allocations: 36 kB / 1.277 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004091/1.454, allocations: 2.471 MB / 1.279 GB, free: 5.172 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.009778/1.464, allocations: 6.219 MB / 1.285 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.468, allocations: 2.802 MB / 1.288 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/1.47, allocations: 1.421 MB / 1.29 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/1.472, allocations: 1.738 MB / 1.291 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/1.472, allocations: 56.56 kB / 1.291 GB, free: 8.152 MB / 1.014 GB Notification: Performance of pre-optimization done (n=237): time 3.446e-06/1.472, allocations: 0 / 1.291 GB, free: 8.152 MB / 1.014 GB Notification: Performance of matching and sorting (n=237): time 0.006006/1.478, allocations: 3.445 MB / 1.295 GB, free: 4.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.478, allocations: 73.41 kB / 1.295 GB, free: 4.574 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.479, allocations: 0.7744 MB / 1.296 GB, free: 3.793 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/1.479, allocations: 61.7 kB / 1.296 GB, free: 3.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/1.48, allocations: 494.1 kB / 1.296 GB, free: 3.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000835/1.481, allocations: 0.7892 MB / 1.297 GB, free: 2.434 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005313/1.481, allocations: 359.6 kB / 1.297 GB, free: 2.074 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.481, allocations: 301.1 kB / 1.297 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/1.483, allocations: 0.898 MB / 1.298 GB, free: 0.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.485, allocations: 1.129 MB / 1.299 GB, free: 15.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.488, allocations: 2.223 MB / 1.302 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.488, allocations: 0 / 1.302 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004315/1.492, allocations: 2.432 MB / 1.304 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/1.492, allocations: 7.938 kB / 1.304 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.492, allocations: 4 kB / 1.304 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.262e-05/1.493, allocations: 12.47 kB / 1.304 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.494, allocations: 443.4 kB / 1.304 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.494, allocations: 12 kB / 1.304 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.496, allocations: 150.4 kB / 1.305 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.496, allocations: 75.98 kB / 1.305 GB, free: 10.29 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.00086/1.497, allocations: 449.1 kB / 1.305 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/1.497, allocations: 142.2 kB / 1.305 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/1.502, allocations: 2.729 MB / 1.308 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.502, allocations: 24 kB / 1.308 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.502, allocations: 0 / 1.308 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/1.505, allocations: 2.385 MB / 1.31 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007027/1.512, allocations: 4.298 MB / 1.314 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.512, allocations: 4 kB / 1.314 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.514, allocations: 407.4 kB / 1.315 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005857/1.515, allocations: 101.7 kB / 1.315 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.515, allocations: 51.98 kB / 1.315 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008644/1.516, allocations: 1.12 MB / 1.316 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.516, allocations: 0 / 1.316 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/1.522, allocations: 4.057 MB / 1.32 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.523, allocations: 482.6 kB / 1.32 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.524, allocations: 40 kB / 1.321 GB, free: 9.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/1.524, allocations: 47.98 kB / 1.321 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/1.525, allocations: 141.8 kB / 1.321 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.525, allocations: 71.98 kB / 1.321 GB, free: 9.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008181/1.526, allocations: 0.5498 MB / 1.321 GB, free: 8.961 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.526, allocations: 0 / 1.321 GB, free: 8.961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001623/1.527, allocations: 0.6513 MB / 1.322 GB, free: 8.309 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007579/1.528, allocations: 395 kB / 1.322 GB, free: 7.914 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009571/1.538, allocations: 4.859 MB / 1.327 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.538, allocations: 0 / 1.327 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.54, allocations: 1.285 MB / 1.328 GB, free: 1.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.543, allocations: 0.5787 MB / 1.329 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/1.549, allocations: 3.871 MB / 1.333 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.55, allocations: 1.331 MB / 1.334 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/1.551, allocations: 187.4 kB / 1.334 GB, free: 11.75 MB / 1.061 GB Notification: Performance of SimCode: time 1.914e-06/1.551, allocations: 0 / 1.334 GB, free: 11.75 MB / 1.061 GB Notification: Performance of Templates: time 0.0525/1.603, allocations: 31.49 MB / 1.365 GB, free: 12.31 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time