Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.00113/0.001131, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.099, allocations: 140.4 MB / 1.089 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.291/1.39, allocations: 189.7 MB / 1.274 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.401, allocations: 4.282 MB / 1.278 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/1.403, allocations: 27.81 kB / 1.278 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/1.405, allocations: 0.5123 MB / 1.279 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00554/1.411, allocations: 1.626 MB / 1.28 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.415, allocations: 1.35 MB / 1.281 GB, free: 8.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004448/1.42, allocations: 2.276 MB / 1.284 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/1.422, allocations: 1.088 MB / 1.285 GB, free: 4.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.425, allocations: 0.9615 MB / 1.286 GB, free: 3.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/1.427, allocations: 0.8795 MB / 1.287 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000786/1.428, allocations: 140 kB / 1.287 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/1.432, allocations: 1.243 MB / 1.288 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008545/1.432, allocations: 422.7 kB / 1.288 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/1.434, allocations: 0.6492 MB / 1.289 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/1.44, allocations: 1.975 MB / 1.291 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/1.44, allocations: 0 / 1.291 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.624e-06/1.44, allocations: 0 / 1.291 GB, free: 14.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.939e-05/1.44, allocations: 0 / 1.291 GB, free: 14.67 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00662/1.446, allocations: 1.724 MB / 1.293 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.446, allocations: 8.031 kB / 1.293 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.448, allocations: 182.4 kB / 1.293 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/1.451, allocations: 1.069 MB / 1.294 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/1.451, allocations: 45 kB / 1.294 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/1.451, allocations: 59.94 kB / 1.294 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.452, allocations: 0.6115 MB / 1.294 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.452, allocations: 3.938 kB / 1.294 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/1.453, allocations: 16 kB / 1.294 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/1.453, allocations: 24.92 kB / 1.295 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/1.454, allocations: 0.6246 MB / 1.295 GB, free: 10.2 MB / 1.029 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.00594/1.46, allocations: 2.661 MB / 1.298 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.462, allocations: 0.5364 MB / 1.298 GB, free: 6.848 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/1.462, allocations: 349.4 kB / 1.299 GB, free: 6.504 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/1.463, allocations: 299.2 kB / 1.299 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.463, allocations: 38.56 kB / 1.299 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009394/1.464, allocations: 147.4 kB / 1.299 GB, free: 5.965 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 6.642e-06/1.464, allocations: 0 / 1.299 GB, free: 5.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002934/1.467, allocations: 1.02 MB / 1.3 GB, free: 4.938 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.467, allocations: 55.41 kB / 1.3 GB, free: 4.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/1.47, allocations: 1.271 MB / 1.301 GB, free: 3.582 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.47, allocations: 45.69 kB / 1.301 GB, free: 3.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/1.47, allocations: 429.7 kB / 1.302 GB, free: 3.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/1.47, allocations: 153.7 kB / 1.302 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/1.471, allocations: 118 kB / 1.302 GB, free: 2.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.471, allocations: 322 kB / 1.302 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/1.472, allocations: 274.2 kB / 1.303 GB, free: 2.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/1.472, allocations: 485.3 kB / 1.303 GB, free: 1.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.474, allocations: 0.583 MB / 1.304 GB, free: 1.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.474, allocations: 4 kB / 1.304 GB, free: 1.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001816/1.476, allocations: 0.7415 MB / 1.304 GB, free: 360 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.476, allocations: 6.344 kB / 1.304 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.476, allocations: 0 / 1.304 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/1.476, allocations: 4 kB / 1.304 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/1.477, allocations: 127.8 kB / 1.305 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.477, allocations: 4 kB / 1.305 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.478, allocations: 91.88 kB / 1.305 GB, free: 128 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/1.478, allocations: 23.97 kB / 1.305 GB, free: 104 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009575/1.479, allocations: 464 kB / 1.305 GB, free: 15.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008335/1.48, allocations: 485.8 kB / 1.306 GB, free: 15.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/1.481, allocations: 0.5771 MB / 1.306 GB, free: 14.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.481, allocations: 3.938 kB / 1.306 GB, free: 14.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001997/1.483, allocations: 0.7395 MB / 1.307 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.483, allocations: 7.938 kB / 1.307 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.483, allocations: 0 / 1.307 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/1.483, allocations: 4 kB / 1.307 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/1.484, allocations: 123.8 kB / 1.307 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.484, allocations: 0 / 1.307 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.486, allocations: 136.2 kB / 1.307 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/1.486, allocations: 19.92 kB / 1.307 GB, free: 13.47 MB / 1.045 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 (45): * Single equations (assignments): 45 * 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.0002901/1.486, allocations: 208.5 kB / 1.307 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/1.486, allocations: 106.7 kB / 1.307 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/1.488, allocations: 0.7992 MB / 1.308 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.489, allocations: 3.984 kB / 1.308 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.489, allocations: 0 / 1.308 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/1.489, allocations: 287.7 kB / 1.308 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.489, allocations: 16 kB / 1.308 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.491, allocations: 55.91 kB / 1.309 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.491, allocations: 36.39 kB / 1.309 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001875/1.493, allocations: 0.7648 MB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002429/1.495, allocations: 1.263 MB / 1.311 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006306/1.496, allocations: 307.3 kB / 1.311 GB, free: 9.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001794/1.497, allocations: 0.9208 MB / 1.312 GB, free: 8.66 MB / 1.045 GB Notification: Performance of Backend: time 1.373e-06/1.498, allocations: 0 / 1.312 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003422/1.501, allocations: 1.005 MB / 1.313 GB, free: 7.656 MB / 1.045 GB Notification: Performance of SimCode: time 0.004289/1.505, allocations: 2.204 MB / 1.315 GB, free: 5.398 MB / 1.045 GB Notification: Performance of Templates: time 0.04715/1.552, allocations: 25.03 MB / 1.339 GB, free: 12.62 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches