Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003033/0.003033, allocations: 173.9 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.065/3.065, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 1 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.84e-05, allocations: 6.281 kB / 1 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.212/1.212, allocations: 167.4 MB / 1.164 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00943/1.222, allocations: 3.979 MB / 1.168 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.224, allocations: 40.38 kB / 1.168 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/1.226, allocations: 0.4912 MB / 1.168 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005109/1.231, allocations: 1.618 MB / 1.17 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/1.235, allocations: 1.413 MB / 1.171 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003851/1.239, allocations: 2.188 MB / 1.173 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/1.241, allocations: 0.8645 MB / 1.174 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/1.244, allocations: 1.507 MB / 1.175 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.245, allocations: 0.7383 MB / 1.176 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002832/1.245, allocations: 142.2 kB / 1.176 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/1.248, allocations: 1.057 MB / 1.177 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/1.249, allocations: 433.3 kB / 1.178 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006464/1.249, allocations: 465.2 kB / 1.178 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003483/1.253, allocations: 2.011 MB / 1.18 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.253, allocations: 0 / 1.18 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.253, allocations: 1.344 kB / 1.18 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.253, allocations: 0 / 1.18 GB, free: 15.74 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004892/1.258, allocations: 1.587 MB / 1.182 GB, free: 14.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.258, allocations: 10.38 kB / 1.182 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/1.26, allocations: 306.1 kB / 1.182 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.262, allocations: 0.9804 MB / 1.183 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/1.262, allocations: 42.34 kB / 1.183 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.262, allocations: 61.86 kB / 1.183 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.264, allocations: 0.6957 MB / 1.184 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.264, allocations: 3.938 kB / 1.184 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/1.264, allocations: 22.09 kB / 1.184 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/1.264, allocations: 15 kB / 1.184 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/1.265, allocations: 0.6301 MB / 1.184 GB, free: 13.55 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.004388/1.27, allocations: 1.847 MB / 1.186 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/1.271, allocations: 0.5023 MB / 1.187 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/1.272, allocations: 342.4 kB / 1.187 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003454/1.272, allocations: 55 kB / 1.187 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/1.272, allocations: 36.91 kB / 1.187 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009761/1.273, allocations: 175.3 kB / 1.187 GB, free: 12.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/1.273, allocations: 0 / 1.187 GB, free: 12.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.002919/1.276, allocations: 1.02 MB / 1.188 GB, free: 11.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/1.276, allocations: 59.53 kB / 1.188 GB, free: 11.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.278, allocations: 1.125 MB / 1.189 GB, free: 11.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.279, allocations: 39.42 kB / 1.189 GB, free: 11.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/1.279, allocations: 429.9 kB / 1.19 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.279, allocations: 147.7 kB / 1.19 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.279, allocations: 120.1 kB / 1.19 GB, free: 10.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.28, allocations: 322 kB / 1.19 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/1.28, allocations: 270.1 kB / 1.191 GB, free: 10.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.282, allocations: 1.156 MB / 1.192 GB, free: 9.039 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.283, allocations: 0.5768 MB / 1.192 GB, free: 8.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.283, allocations: 0 / 1.192 GB, free: 8.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001867/1.285, allocations: 0.7251 MB / 1.193 GB, free: 8.371 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.285, allocations: 6.594 kB / 1.193 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.285, allocations: 1.781 kB / 1.193 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.285, allocations: 5.75 kB / 1.193 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/1.285, allocations: 116.7 kB / 1.193 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.285, allocations: 5.219 kB / 1.193 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.287, allocations: 99.62 kB / 1.193 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.85e-05/1.287, allocations: 33.22 kB / 1.193 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/1.288, allocations: 457.3 kB / 1.194 GB, free: 7.988 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/1.289, allocations: 1.142 MB / 1.195 GB, free: 6.777 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/1.29, allocations: 0.5765 MB / 1.195 GB, free: 6.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/1.29, allocations: 0 / 1.195 GB, free: 6.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001781/1.292, allocations: 0.7205 MB / 1.196 GB, free: 6.109 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.292, allocations: 2.781 kB / 1.196 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.292, allocations: 2.344 kB / 1.196 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/1.292, allocations: 2.844 kB / 1.196 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/1.293, allocations: 107.5 kB / 1.196 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.293, allocations: 2.906 kB / 1.196 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.294, allocations: 140.5 kB / 1.196 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/1.294, allocations: 21.39 kB / 1.196 GB, free: 6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (42): * Single equations (assignments): 42 * 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.0002968/1.295, allocations: 204.4 kB / 1.197 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.295, allocations: 93.73 kB / 1.197 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/1.297, allocations: 0.7947 MB / 1.198 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.297, allocations: 5.469 kB / 1.198 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.297, allocations: 3.938 kB / 1.198 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.297, allocations: 7.938 kB / 1.198 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/1.3, allocations: 1.636 MB / 1.199 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.3, allocations: 2.875 kB / 1.199 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/1.301, allocations: 107.3 kB / 1.199 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/1.301, allocations: 6.812 kB / 1.199 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.301, allocations: 12.38 kB / 1.199 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/1.301, allocations: 11.27 kB / 1.199 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.301, allocations: 10.14 kB / 1.199 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.303, allocations: 1.227 MB / 1.2 GB, free: 3.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/1.304, allocations: 197.4 kB / 1.201 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.304, allocations: 11.12 kB / 1.201 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.305, allocations: 67.69 kB / 1.201 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.305, allocations: 43.3 kB / 1.201 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.305, allocations: 17.34 kB / 1.201 GB, free: 3.207 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001434/1.307, allocations: 0.8187 MB / 1.202 GB, free: 2.742 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.307, allocations: 0 / 1.202 GB, free: 2.742 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001412/1.308, allocations: 415.4 kB / 1.202 GB, free: 2.664 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.0005141/1.308, allocations: 212 kB / 1.202 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002281/1.311, allocations: 0.902 MB / 1.203 GB, free: 2.098 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.311, allocations: 0 / 1.203 GB, free: 2.098 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007431/1.311, allocations: 320.8 kB / 1.203 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.313, allocations: 350.3 kB / 1.204 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/1.317, allocations: 1.577 MB / 1.205 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/1.318, allocations: 432.6 kB / 1.206 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00112/1.319, allocations: 265 kB / 1.206 GB, free: 408 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.319, allocations: 93.28 kB / 1.206 GB, free: 376 kB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.319, allocations: 0 / 1.206 GB, free: 376 kB / 1.014 GB Notification: Performance of Templates: time 0.03818/1.357, allocations: 21.07 MB / 1.227 GB, free: 5.707 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.342287417501211]