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.008892/0.008891, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001849/0.001849, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2763/1.283, allocations: 189.7 MB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009156/1.292, allocations: 4.292 MB / 1.277 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/1.294, allocations: 27.81 kB / 1.277 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/1.296, allocations: 0.5006 MB / 1.278 GB, free: 11.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/1.301, allocations: 1.563 MB / 1.279 GB, free: 9.578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/1.306, allocations: 1.337 MB / 1.281 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003589/1.309, allocations: 2.277 MB / 1.283 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/1.311, allocations: 1.084 MB / 1.284 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/1.313, allocations: 0.9382 MB / 1.285 GB, free: 3.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/1.315, allocations: 0.8833 MB / 1.286 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/1.315, allocations: 140 kB / 1.286 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/1.318, allocations: 1.247 MB / 1.287 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/1.318, allocations: 410.8 kB / 1.287 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007569/1.319, allocations: 0.6453 MB / 1.288 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/1.322, allocations: 1.976 MB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.322, allocations: 0 / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/1.322, allocations: 0 / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.322, allocations: 8 kB / 1.29 GB, free: 14.62 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.004136/1.326, allocations: 1.717 MB / 1.292 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.326, allocations: 12.03 kB / 1.292 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/1.327, allocations: 186.4 kB / 1.292 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/1.329, allocations: 1.065 MB / 1.293 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/1.329, allocations: 41 kB / 1.293 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.329, allocations: 63.94 kB / 1.293 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.33, allocations: 0.6192 MB / 1.294 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.33, allocations: 3.938 kB / 1.294 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/1.33, allocations: 20 kB / 1.294 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/1.33, allocations: 17 kB / 1.294 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/1.331, allocations: 0.6168 MB / 1.294 GB, free: 10.14 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.004256/1.336, allocations: 2.665 MB / 1.297 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.337, allocations: 0.5373 MB / 1.297 GB, free: 6.789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/1.337, allocations: 349.4 kB / 1.298 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/1.338, allocations: 295.2 kB / 1.298 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.338, allocations: 38.56 kB / 1.298 GB, free: 6.055 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006858/1.339, allocations: 147.4 kB / 1.298 GB, free: 5.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 4.148e-06/1.339, allocations: 0 / 1.298 GB, free: 5.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002395/1.341, allocations: 1.02 MB / 1.299 GB, free: 4.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.341, allocations: 63.41 kB / 1.299 GB, free: 4.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.343, allocations: 1.271 MB / 1.301 GB, free: 3.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/1.343, allocations: 41.7 kB / 1.301 GB, free: 3.473 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.344, allocations: 429.7 kB / 1.301 GB, free: 3.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.344, allocations: 153.7 kB / 1.301 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.344, allocations: 122 kB / 1.301 GB, free: 2.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.344, allocations: 322 kB / 1.302 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/1.345, allocations: 270.2 kB / 1.302 GB, free: 2.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/1.345, allocations: 493.2 kB / 1.302 GB, free: 1.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.347, allocations: 0.5791 MB / 1.303 GB, free: 1.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.347, allocations: 4 kB / 1.303 GB, free: 1.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001506/1.348, allocations: 0.7376 MB / 1.304 GB, free: 300 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.348, allocations: 8 kB / 1.304 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.348, allocations: 0 / 1.304 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.348, allocations: 0 / 1.304 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/1.349, allocations: 131.8 kB / 1.304 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.349, allocations: 4 kB / 1.304 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.35, allocations: 91.88 kB / 1.304 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/1.35, allocations: 19.98 kB / 1.304 GB, free: 44 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009363/1.351, allocations: 463.9 kB / 1.304 GB, free: 15.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009283/1.352, allocations: 489.8 kB / 1.305 GB, free: 15.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001193/1.353, allocations: 0.5757 MB / 1.305 GB, free: 14.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/1.353, allocations: 7.938 kB / 1.305 GB, free: 14.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001483/1.355, allocations: 0.742 MB / 1.306 GB, free: 13.69 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.355, allocations: 4 kB / 1.306 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/1.355, allocations: 0 / 1.306 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/1.355, allocations: 4 kB / 1.306 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/1.356, allocations: 131.8 kB / 1.306 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/1.356, allocations: 0 / 1.306 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.357, allocations: 128.2 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/1.357, allocations: 19.97 kB / 1.306 GB, free: 13.41 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.0002496/1.357, allocations: 212.4 kB / 1.306 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/1.357, allocations: 102.7 kB / 1.307 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/1.359, allocations: 0.7992 MB / 1.307 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.359, allocations: 7.938 kB / 1.307 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.359, allocations: 11.98 kB / 1.307 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.359, allocations: 0 / 1.307 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/1.363, allocations: 1.948 MB / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.363, allocations: 288 / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.363, allocations: 107.9 kB / 1.309 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.363, allocations: 4 kB / 1.309 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/1.363, allocations: 19.98 kB / 1.309 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/1.363, allocations: 7.938 kB / 1.309 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.363, allocations: 7.938 kB / 1.309 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/1.365, allocations: 1.228 MB / 1.311 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/1.366, allocations: 287.6 kB / 1.311 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.366, allocations: 11.98 kB / 1.311 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/1.367, allocations: 71.92 kB / 1.311 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.367, allocations: 39.94 kB / 1.311 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/1.367, allocations: 20 kB / 1.311 GB, free: 8.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001446/1.369, allocations: 0.9247 MB / 1.312 GB, free: 7.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.369, allocations: 0 / 1.312 GB, free: 7.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001203/1.37, allocations: 403.4 kB / 1.312 GB, free: 7.051 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.000548/1.37, allocations: 231.2 kB / 1.313 GB, free: 6.824 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.372, allocations: 0.9447 MB / 1.313 GB, free: 5.879 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.372, allocations: 0 / 1.313 GB, free: 5.879 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006729/1.373, allocations: 336.9 kB / 1.314 GB, free: 5.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.375, allocations: 432.1 kB / 1.314 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/1.378, allocations: 1.684 MB / 1.316 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/1.378, allocations: 1.037 MB / 1.317 GB, free: 2.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009697/1.379, allocations: 287.1 kB / 1.317 GB, free: 2.031 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.38, allocations: 99.38 kB / 1.317 GB, free: 1.934 MB / 1.045 GB Notification: Performance of SimCode: time 8.31e-07/1.38, allocations: 0 / 1.317 GB, free: 1.934 MB / 1.045 GB Notification: Performance of Templates: time 0.0397/1.419, allocations: 21.41 MB / 1.338 GB, free: 12.79 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/jenkins/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