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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001106/0.001106, allocations: 99.34 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 179.3 kB / 16.92 MB, free: 6.914 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 10.38 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3005, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2169/0.5175, allocations: 185 MB / 1.24 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007356/0.5249, allocations: 4.267 MB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.5262, allocations: 23.81 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.5274, allocations: 425.6 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.531, allocations: 1.466 MB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.5342, allocations: 1.232 MB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003476/0.5377, allocations: 2.775 MB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.5392, allocations: 0.9169 MB / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6658/1.205, allocations: 0.8072 MB / 1.252 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/1.207, allocations: 0.8116 MB / 1.252 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005084/1.208, allocations: 56.97 kB / 1.252 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/1.211, allocations: 1.364 MB / 1.254 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006576/1.212, allocations: 341.8 kB / 1.254 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.213, allocations: 0.5807 MB / 1.255 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/1.215, allocations: 1.488 MB / 1.256 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.215, allocations: 0 / 1.256 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/1.216, allocations: 0 / 1.256 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.376e-05/1.216, allocations: 0 / 1.256 GB, free: 4.707 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004589/1.22, allocations: 1.498 MB / 1.258 GB, free: 19.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.22, allocations: 16.14 kB / 1.258 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/1.221, allocations: 180.9 kB / 1.258 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/1.223, allocations: 1.042 MB / 1.259 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.223, allocations: 52.48 kB / 1.259 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.223, allocations: 62 kB / 1.259 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/1.225, allocations: 0.6208 MB / 1.259 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.225, allocations: 4 kB / 1.259 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/1.225, allocations: 20.11 kB / 1.26 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.225, allocations: 21.03 kB / 1.26 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.226, allocations: 0.6457 MB / 1.26 GB, free: 19.51 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.004869/1.231, allocations: 2.679 MB / 1.263 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.232, allocations: 0.5502 MB / 1.263 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/1.233, allocations: 363.2 kB / 1.264 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/1.234, allocations: 293.9 kB / 1.264 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.234, allocations: 42.45 kB / 1.264 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000811/1.235, allocations: 163.1 kB / 1.264 GB, free: 18.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 5.721e-06/1.235, allocations: 0 / 1.264 GB, free: 18.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002525/1.237, allocations: 1.05 MB / 1.265 GB, free: 18.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/1.237, allocations: 65.77 kB / 1.265 GB, free: 18.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.24, allocations: 1.27 MB / 1.266 GB, free: 17.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.24, allocations: 38.3 kB / 1.266 GB, free: 17.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/1.24, allocations: 438.5 kB / 1.267 GB, free: 17.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/1.24, allocations: 146.2 kB / 1.267 GB, free: 17.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/1.241, allocations: 35.64 kB / 1.267 GB, free: 17.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.241, allocations: 330.6 kB / 1.267 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/1.241, allocations: 276.2 kB / 1.268 GB, free: 17.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/1.242, allocations: 497.6 kB / 1.268 GB, free: 17.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.244, allocations: 0.6178 MB / 1.269 GB, free: 17.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.244, allocations: 0 / 1.269 GB, free: 17.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002061/1.246, allocations: 0.7673 MB / 1.269 GB, free: 17.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/1.246, allocations: 97.97 kB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.246, allocations: 0.6094 kB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.246, allocations: 1.25 kB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.247, allocations: 125.1 kB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.247, allocations: 2.859 kB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.248, allocations: 115 kB / 1.27 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/1.249, allocations: 29.64 kB / 1.27 GB, free: 16.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.249, allocations: 4.156 kB / 1.27 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/1.25, allocations: 0.6335 MB / 1.27 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.25, allocations: 7.469 kB / 1.27 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.25, allocations: 2.391 kB / 1.27 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/1.251, allocations: 126.9 kB / 1.271 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.251, allocations: 2.281 kB / 1.271 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.253, allocations: 130.9 kB / 1.271 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/1.253, allocations: 23.81 kB / 1.271 GB, free: 16.94 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 (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.0007467/1.253, allocations: 324.9 kB / 1.271 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.254, allocations: 105.1 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/1.256, allocations: 0.8321 MB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.256, allocations: 5.188 kB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.256, allocations: 5.219 kB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.256, allocations: 2.812 kB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/1.261, allocations: 1.972 MB / 1.274 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.261, allocations: 3.766 kB / 1.274 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/1.262, allocations: 118.1 kB / 1.274 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.262, allocations: 4.766 kB / 1.274 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/1.262, allocations: 16.23 kB / 1.274 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/1.262, allocations: 11.59 kB / 1.274 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.262, allocations: 3.375 kB / 1.274 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.265, allocations: 1.268 MB / 1.275 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/1.266, allocations: 286.4 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.266, allocations: 13.7 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.268, allocations: 91.08 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.268, allocations: 46.58 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/1.268, allocations: 20.3 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002189/1.27, allocations: 0.9182 MB / 1.277 GB, free: 15.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/1.27, allocations: 5.859 kB / 1.277 GB, free: 15.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002247/1.272, allocations: 406.2 kB / 1.277 GB, free: 15.62 MB / 1.014 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.0006799/1.273, allocations: 216 kB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002481/1.275, allocations: 0.9782 MB / 1.278 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.275, allocations: 1.594 kB / 1.278 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007731/1.276, allocations: 350 kB / 1.279 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.28, allocations: 470.5 kB / 1.279 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/1.284, allocations: 2.076 MB / 1.281 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.285, allocations: 1.045 MB / 1.282 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/1.285, allocations: 98.66 kB / 1.282 GB, free: 13.67 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.285, allocations: 0 / 1.282 GB, free: 13.67 MB / 1.014 GB Notification: Performance of Templates: time 0.03238/1.318, allocations: 16.25 MB / 1.298 GB, free: 12.45 MB / 1.014 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