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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001465/0.001465, allocations: 103.3 kB / 16.27 MB, free: 6.016 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.00156/0.00156, allocations: 189 kB / 17.19 MB, free: 5.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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7426 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 71.41 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.345, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8572/1.202, allocations: 189.7 MB / 1.249 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008354/1.211, allocations: 4.27 MB / 1.254 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/1.212, allocations: 23.88 kB / 1.254 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/1.214, allocations: 0.5006 MB / 1.254 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/1.219, allocations: 1.579 MB / 1.256 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/1.224, allocations: 1.318 MB / 1.257 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003406/1.227, allocations: 2.26 MB / 1.259 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/1.229, allocations: 1.079 MB / 1.26 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/1.232, allocations: 0.9498 MB / 1.261 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/1.234, allocations: 0.8639 MB / 1.262 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005427/1.234, allocations: 140 kB / 1.262 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/1.237, allocations: 1.239 MB / 1.263 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/1.238, allocations: 430.7 kB / 1.264 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/1.239, allocations: 0.6453 MB / 1.264 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/1.243, allocations: 1.955 MB / 1.266 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.243, allocations: 0 / 1.266 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/1.243, allocations: 0 / 1.266 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-05/1.243, allocations: 0 / 1.266 GB, free: 10.16 MB / 0.9825 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.005128/1.248, allocations: 1.721 MB / 1.268 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.248, allocations: 8.031 kB / 1.268 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/1.249, allocations: 190.4 kB / 1.268 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.251, allocations: 1.037 MB / 1.269 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.251, allocations: 48.98 kB / 1.269 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.251, allocations: 67.92 kB / 1.269 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.252, allocations: 0.6115 MB / 1.27 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.252, allocations: 0 / 1.27 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/1.252, allocations: 20 kB / 1.27 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/1.252, allocations: 17 kB / 1.27 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/1.254, allocations: 0.6284 MB / 1.271 GB, free: 5.707 MB / 0.9825 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.004004/1.258, allocations: 2.662 MB / 1.273 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.259, allocations: 0.5451 MB / 1.274 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/1.259, allocations: 345.4 kB / 1.274 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/1.26, allocations: 299.9 kB / 1.274 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.26, allocations: 39.06 kB / 1.274 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006558/1.261, allocations: 147.4 kB / 1.274 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.215e-06/1.261, allocations: 0 / 1.274 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002319/1.263, allocations: 1.008 MB / 1.275 GB, free: 464 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.263, allocations: 63.34 kB / 1.276 GB, free: 388 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/1.265, allocations: 1.271 MB / 1.277 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/1.265, allocations: 41.7 kB / 1.277 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/1.265, allocations: 433.7 kB / 1.277 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/1.266, allocations: 149.8 kB / 1.277 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.266, allocations: 118 kB / 1.277 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.266, allocations: 322 kB / 1.278 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/1.266, allocations: 270.2 kB / 1.278 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/1.267, allocations: 485.3 kB / 1.278 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.269, allocations: 0.583 MB / 1.279 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.269, allocations: 6.625 kB / 1.279 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001517/1.27, allocations: 0.7454 MB / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.27, allocations: 8 kB / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.27, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.27, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/1.271, allocations: 119.8 kB / 1.28 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.271, allocations: 0.7812 kB / 1.28 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.272, allocations: 105.4 kB / 1.28 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/1.272, allocations: 19.98 kB / 1.28 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008038/1.273, allocations: 467.9 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007504/1.274, allocations: 487.1 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/1.275, allocations: 0.5838 MB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.275, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001542/1.276, allocations: 0.746 MB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/1.276, allocations: 4 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/1.276, allocations: 0 / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/1.276, allocations: 4 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/1.277, allocations: 119.8 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/1.277, allocations: 4 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.278, allocations: 128.3 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/1.278, allocations: 23.97 kB / 1.283 GB, free: 8.98 MB / 0.9981 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.0002147/1.279, allocations: 212.1 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.279, allocations: 106.7 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.281, allocations: 0.7992 MB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.281, allocations: 7.984 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.281, allocations: 3.938 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.281, allocations: 0 / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.284, allocations: 1.949 MB / 1.286 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.284, allocations: 4 kB / 1.286 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/1.284, allocations: 113 kB / 1.286 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.285, allocations: 8 kB / 1.286 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/1.285, allocations: 19.92 kB / 1.286 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.285, allocations: 4 kB / 1.286 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.285, allocations: 7.938 kB / 1.286 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.287, allocations: 1.228 MB / 1.287 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/1.287, allocations: 287.6 kB / 1.287 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.287, allocations: 16.62 kB / 1.287 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.288, allocations: 67.97 kB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.289, allocations: 43.89 kB / 1.287 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/1.289, allocations: 15.98 kB / 1.287 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001526/1.29, allocations: 0.9247 MB / 1.288 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.29, allocations: 0 / 1.288 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001273/1.291, allocations: 403.4 kB / 1.289 GB, free: 2.621 MB / 0.9981 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.0006117/1.292, allocations: 221 kB / 1.289 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.294, allocations: 0.9953 MB / 1.29 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.294, allocations: 4 kB / 1.29 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/1.295, allocations: 336.1 kB / 1.29 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.297, allocations: 435.4 kB / 1.29 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/1.3, allocations: 1.74 MB / 1.292 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/1.301, allocations: 1.045 MB / 1.293 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/1.301, allocations: 99.38 kB / 1.293 GB, free: 13.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.301, allocations: 0 / 1.293 GB, free: 13.68 MB / 1.014 GB Notification: Performance of Templates: time 0.02663/1.328, allocations: 16.22 MB / 1.309 GB, free: 13.6 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches