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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00549/0.005491, allocations: 170 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4902, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1553/0.6455, allocations: 185 MB / 1.136 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005759/0.6513, allocations: 4.28 MB / 1.14 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007891/0.6521, allocations: 23.81 kB / 1.14 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.6531, allocations: 421.6 kB / 1.14 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.6559, allocations: 1.459 MB / 1.142 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.6584, allocations: 1.242 MB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.6609, allocations: 2.779 MB / 1.146 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009345/0.6618, allocations: 0.9127 MB / 1.147 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008586/0.6627, allocations: 0.813 MB / 1.147 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007894/0.6635, allocations: 0.8131 MB / 1.148 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.6636, allocations: 63.94 kB / 1.148 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.6654, allocations: 1.36 MB / 1.15 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.6657, allocations: 334.7 kB / 1.15 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.6661, allocations: 0.5767 MB / 1.151 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6677, allocations: 1.954 MB / 1.152 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6677, allocations: 0 / 1.152 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6677, allocations: 0 / 1.152 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6677, allocations: 4 kB / 1.152 GB, free: 4.656 MB / 0.9044 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.003248/0.671, allocations: 1.502 MB / 1.154 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.671, allocations: 8.031 kB / 1.154 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.544e-05/0.6711, allocations: 82.53 kB / 1.154 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006769/0.6718, allocations: 190.4 kB / 1.154 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6733, allocations: 1.034 MB / 1.155 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6734, allocations: 56.92 kB / 1.155 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6735, allocations: 56 kB / 1.155 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.6746, allocations: 0.631 MB / 1.156 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6746, allocations: 0 / 1.156 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.6747, allocations: 19.98 kB / 1.156 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.6747, allocations: 20.98 kB / 1.156 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6759, allocations: 0.6441 MB / 1.157 GB, free: 300 kB / 0.9044 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.00337/0.6793, allocations: 2.681 MB / 1.159 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6803, allocations: 0.5529 MB / 1.16 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.6809, allocations: 364.6 kB / 1.16 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.6812, allocations: 284 kB / 1.16 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.6813, allocations: 34.56 kB / 1.16 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006026/0.6819, allocations: 167.4 kB / 1.161 GB, free: 12.01 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.6819, allocations: 0 / 1.161 GB, free: 12.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002067/0.684, allocations: 1.063 MB / 1.162 GB, free: 10.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.684, allocations: 59.36 kB / 1.162 GB, free: 10.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.6856, allocations: 1.271 MB / 1.163 GB, free: 9.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.6857, allocations: 41.7 kB / 1.163 GB, free: 9.535 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.686, allocations: 433.7 kB / 1.163 GB, free: 9.109 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6861, allocations: 153.8 kB / 1.163 GB, free: 8.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.6862, allocations: 41.69 kB / 1.163 GB, free: 8.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.6863, allocations: 321.9 kB / 1.164 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.6868, allocations: 280.6 kB / 1.164 GB, free: 8.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.6875, allocations: 496.7 kB / 1.165 GB, free: 7.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.6887, allocations: 0.6137 MB / 1.165 GB, free: 7.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6887, allocations: 0 / 1.165 GB, free: 7.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001336/0.69, allocations: 0.7611 MB / 1.166 GB, free: 6.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.6901, allocations: 101.5 kB / 1.166 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6901, allocations: 0 / 1.166 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.6901, allocations: 0 / 1.166 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.6907, allocations: 131.8 kB / 1.166 GB, free: 6.137 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6907, allocations: 4 kB / 1.166 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6918, allocations: 130.5 kB / 1.166 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.6918, allocations: 23.97 kB / 1.166 GB, free: 5.984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.6919, allocations: 4 kB / 1.166 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.693, allocations: 0.628 MB / 1.167 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.6931, allocations: 0 / 1.167 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.6931, allocations: 4 kB / 1.167 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.6936, allocations: 127.8 kB / 1.167 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.6936, allocations: 0 / 1.167 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6947, allocations: 125.8 kB / 1.167 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.6948, allocations: 23.97 kB / 1.167 GB, free: 5.078 MB / 0.92 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.0003065/0.6951, allocations: 329 kB / 1.167 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6952, allocations: 102.8 kB / 1.168 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.6968, allocations: 0.842 MB / 1.168 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6968, allocations: 8 kB / 1.168 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6968, allocations: 0 / 1.168 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6969, allocations: 0 / 1.168 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.6995, allocations: 1.979 MB / 1.17 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6995, allocations: 4 kB / 1.17 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.7, allocations: 116.1 kB / 1.17 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7, allocations: 4 kB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.7001, allocations: 23.92 kB / 1.17 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7001, allocations: 4 kB / 1.17 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7001, allocations: 0 / 1.17 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.702, allocations: 1.267 MB / 1.172 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.7024, allocations: 295.6 kB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.7025, allocations: 20 kB / 1.172 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009261/0.7034, allocations: 75.91 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.7035, allocations: 39.89 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.7036, allocations: 19.98 kB / 1.172 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001216/0.7048, allocations: 0.9247 MB / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7048, allocations: 0 / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008631/0.7057, allocations: 403.4 kB / 1.173 GB, free: 14.47 MB / 0.9356 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.002391/0.7081, allocations: 1.94 MB / 1.175 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.7098, allocations: 0.9804 MB / 1.176 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7099, allocations: 0 / 1.176 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.7104, allocations: 352.1 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.7128, allocations: 461.4 kB / 1.177 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.726, allocations: 9.305 MB / 1.186 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.7265, allocations: 1.045 MB / 1.187 GB, free: 24 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009207/0.7275, allocations: 287.1 kB / 1.187 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.728, allocations: 387.3 kB / 1.188 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.728, allocations: 0 / 1.188 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9652/1.693, allocations: 28.78 MB / 1.216 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.694, allocations: 245.5 kB / 1.216 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/4.076, allocations: 0 / 1.216 GB, free: 2.742 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > 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