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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_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.001658/0.001658, allocations: 108 kB / 15.61 MB, free: 152 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.001682/0.001682, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.08 kB / 0.8992 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1915/0.5088, allocations: 189.7 MB / 1.238 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.5154, allocations: 4.289 MB / 1.242 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.5162, allocations: 31.75 kB / 1.242 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.5173, allocations: 0.4928 MB / 1.243 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.5205, allocations: 1.565 MB / 1.244 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.5234, allocations: 1.334 MB / 1.246 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5699/1.093, allocations: 2.243 MB / 1.248 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/1.096, allocations: 1.078 MB / 1.249 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/1.099, allocations: 0.945 MB / 1.25 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/1.1, allocations: 0.8684 MB / 1.251 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000305/1.101, allocations: 139.2 kB / 1.251 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/1.103, allocations: 1.243 MB / 1.252 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/1.104, allocations: 422 kB / 1.252 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007886/1.105, allocations: 0.6463 MB / 1.253 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/1.107, allocations: 1.955 MB / 1.255 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.107, allocations: 3.844 kB / 1.255 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.107, allocations: 0 / 1.255 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.063e-05/1.107, allocations: 0.9375 kB / 1.255 GB, free: 4.156 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.004289/1.112, allocations: 1.718 MB / 1.257 GB, free: 19.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.112, allocations: 11.23 kB / 1.257 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/1.112, allocations: 87.36 kB / 1.257 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/1.113, allocations: 182.5 kB / 1.257 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/1.114, allocations: 1.046 MB / 1.258 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.115, allocations: 56.34 kB / 1.258 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.115, allocations: 55.97 kB / 1.258 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.116, allocations: 0.6126 MB / 1.259 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.116, allocations: 0 / 1.259 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/1.116, allocations: 17.28 kB / 1.259 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/1.116, allocations: 21.16 kB / 1.259 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.117, allocations: 0.6286 MB / 1.259 GB, free: 18.86 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.004439/1.122, allocations: 2.667 MB / 1.262 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.123, allocations: 0.5371 MB / 1.262 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/1.124, allocations: 348.7 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/1.124, allocations: 297.3 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/1.124, allocations: 38.7 kB / 1.263 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005757/1.125, allocations: 133.2 kB / 1.263 GB, free: 17.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/1.125, allocations: 3.969 kB / 1.263 GB, free: 17.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002547/1.127, allocations: 1.019 MB / 1.264 GB, free: 17.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.127, allocations: 60.92 kB / 1.264 GB, free: 17.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/1.13, allocations: 1.272 MB / 1.266 GB, free: 17.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/1.13, allocations: 37.73 kB / 1.266 GB, free: 17.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/1.13, allocations: 438.1 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.13, allocations: 148.7 kB / 1.266 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/1.131, allocations: 119.5 kB / 1.266 GB, free: 17.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.131, allocations: 323.7 kB / 1.267 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/1.131, allocations: 272.5 kB / 1.267 GB, free: 16.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/1.132, allocations: 485.2 kB / 1.267 GB, free: 16.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.134, allocations: 0.5914 MB / 1.268 GB, free: 16.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.134, allocations: 0 / 1.268 GB, free: 16.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001796/1.135, allocations: 0.7377 MB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.135, allocations: 5.359 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.135, allocations: 1.031 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.135, allocations: 3.203 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/1.136, allocations: 125.4 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.136, allocations: 2.375 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.137, allocations: 91.56 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/1.138, allocations: 26.03 kB / 1.269 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001001/1.139, allocations: 465.9 kB / 1.269 GB, free: 16.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009461/1.139, allocations: 485.8 kB / 1.27 GB, free: 16.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/1.141, allocations: 0.5802 MB / 1.27 GB, free: 16.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.141, allocations: 0.625 kB / 1.27 GB, free: 16.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002129/1.143, allocations: 0.741 MB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.143, allocations: 7 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.143, allocations: 0.7031 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.143, allocations: 1.406 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/1.144, allocations: 123.4 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.144, allocations: 3.75 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.145, allocations: 121.5 kB / 1.271 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/1.145, allocations: 25.25 kB / 1.271 GB, free: 16.08 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.0002489/1.146, allocations: 210.2 kB / 1.271 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.146, allocations: 104.4 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.148, allocations: 0.8091 MB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.148, allocations: 5.781 kB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.148, allocations: 2.484 kB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.148, allocations: 6.609 kB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/1.151, allocations: 1.946 MB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.151, allocations: 2.688 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.151, allocations: 110.7 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/1.152, allocations: 8.953 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/1.152, allocations: 15.16 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/1.152, allocations: 10.62 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.152, allocations: 3.125 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/1.154, allocations: 1.228 MB / 1.276 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/1.154, allocations: 292.5 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.154, allocations: 17.81 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/1.155, allocations: 62.81 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.155, allocations: 43.34 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/1.155, allocations: 20.98 kB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001357/1.157, allocations: 0.9178 MB / 1.277 GB, free: 14.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.92e-07/1.157, allocations: 2.312 kB / 1.277 GB, free: 14.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001235/1.158, allocations: 405.5 kB / 1.277 GB, free: 14.82 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.002608/1.161, allocations: 1.898 MB / 1.279 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002159/1.163, allocations: 0.9967 MB / 1.28 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.163, allocations: 1.375 kB / 1.28 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/1.163, allocations: 333 kB / 1.28 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.166, allocations: 438.2 kB / 1.281 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.181, allocations: 8.937 MB / 1.29 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/1.181, allocations: 1.046 MB / 1.291 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001545/1.183, allocations: 293.5 kB / 1.291 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/1.183, allocations: 388.2 kB / 1.291 GB, free: 10.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.183, allocations: 2.062 kB / 1.291 GB, free: 10.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05709/1.24, allocations: 29.93 MB / 1.32 GB, free: 4.727 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.533, allocations: 10.3 kB / 1.321 GB, free: 4.719 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > 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