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: "" <> 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.0008986/0.0008986, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00861/0.00861, allocations: 169 kB / 16.26 MB, free: 6.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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.354/2.354, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 9.125 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1611/0.3899, allocations: 185 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006081/0.396, allocations: 4.261 MB / 1.244 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009785/0.397, allocations: 23.81 kB / 1.244 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3981, allocations: 421.6 kB / 1.244 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.4013, allocations: 1.467 MB / 1.245 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.4041, allocations: 1.225 MB / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.4069, allocations: 2.787 MB / 1.249 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4082, allocations: 0.913 MB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4701/0.8782, allocations: 0.8082 MB / 1.251 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.8798, allocations: 0.8144 MB / 1.252 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004703/0.8803, allocations: 59.39 kB / 1.252 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.8828, allocations: 1.363 MB / 1.253 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.8834, allocations: 341.2 kB / 1.254 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009974/0.8844, allocations: 0.5791 MB / 1.254 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.8869, allocations: 1.953 MB / 1.256 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8869, allocations: 0.9688 kB / 1.256 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8869, allocations: 0.6094 kB / 1.256 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.102e-05/0.8869, allocations: 0 / 1.256 GB, free: 4.625 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.003791/0.8907, allocations: 1.5 MB / 1.257 GB, free: 19.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8908, allocations: 19.06 kB / 1.257 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.8909, allocations: 88.83 kB / 1.258 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.8916, allocations: 180.4 kB / 1.258 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.893, allocations: 1.041 MB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.8932, allocations: 53.94 kB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.8933, allocations: 59.02 kB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.8944, allocations: 0.6261 MB / 1.259 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.8944, allocations: 0 / 1.259 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.8944, allocations: 26.69 kB / 1.26 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.8945, allocations: 16.45 kB / 1.26 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.8956, allocations: 0.6456 MB / 1.26 GB, free: 19.38 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.003405/0.899, allocations: 2.676 MB / 1.263 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.9, allocations: 0.5533 MB / 1.263 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.9005, allocations: 364.1 kB / 1.264 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.9009, allocations: 290.7 kB / 1.264 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.9009, allocations: 37.77 kB / 1.264 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005886/0.9015, allocations: 166.5 kB / 1.264 GB, free: 18.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.9015, allocations: 3 kB / 1.264 GB, free: 18.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.001968/0.9035, allocations: 1.05 MB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9035, allocations: 64.52 kB / 1.265 GB, free: 18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.9054, allocations: 1.271 MB / 1.266 GB, free: 17.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.9055, allocations: 37.98 kB / 1.266 GB, free: 17.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.9058, allocations: 435.7 kB / 1.267 GB, free: 17.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.9059, allocations: 147.6 kB / 1.267 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.906, allocations: 36.91 kB / 1.267 GB, free: 17.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.906, allocations: 329.6 kB / 1.267 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.9066, allocations: 278.7 kB / 1.268 GB, free: 17.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.9074, allocations: 498.3 kB / 1.268 GB, free: 17.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.9086, allocations: 0.6132 MB / 1.269 GB, free: 17.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9086, allocations: 0 / 1.269 GB, free: 17.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00143/0.91, allocations: 0.7637 MB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.9101, allocations: 97.34 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9101, allocations: 5.969 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.9101, allocations: 1.875 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.9107, allocations: 129.1 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9107, allocations: 2.609 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.9118, allocations: 124.1 kB / 1.27 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.9119, allocations: 25.2 kB / 1.27 GB, free: 16.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.9119, allocations: 4.906 kB / 1.27 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/0.9131, allocations: 0.6333 MB / 1.27 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.9132, allocations: 0.7969 kB / 1.27 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.9132, allocations: 6.625 kB / 1.27 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.9138, allocations: 124.5 kB / 1.271 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.9138, allocations: 2.594 kB / 1.271 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.9148, allocations: 126 kB / 1.271 GB, free: 16.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.9149, allocations: 24.33 kB / 1.271 GB, free: 16.81 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.0003517/0.9153, allocations: 329.1 kB / 1.271 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9154, allocations: 99.44 kB / 1.271 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.9173, allocations: 0.8325 MB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9173, allocations: 9.078 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9173, allocations: 2.391 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.9173, allocations: 3.406 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.9203, allocations: 1.974 MB / 1.274 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9203, allocations: 3.188 kB / 1.274 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.9208, allocations: 113 kB / 1.274 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.9209, allocations: 10.45 kB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.9209, allocations: 19.23 kB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.9209, allocations: 8.438 kB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9209, allocations: 2.5 kB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.9228, allocations: 1.27 MB / 1.275 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.9232, allocations: 288.2 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.9233, allocations: 16.42 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.9243, allocations: 88.64 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9244, allocations: 36.92 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.9244, allocations: 19.41 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001317/0.9257, allocations: 0.9241 MB / 1.277 GB, free: 15.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9258, allocations: 0 / 1.277 GB, free: 15.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001002/0.9268, allocations: 408.4 kB / 1.277 GB, free: 15.49 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.002332/0.9291, allocations: 1.938 MB / 1.279 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.9309, allocations: 0.9753 MB / 1.28 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9309, allocations: 1.312 kB / 1.28 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.9315, allocations: 346.2 kB / 1.28 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.9339, allocations: 458.9 kB / 1.281 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.9468, allocations: 9.305 MB / 1.29 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.9473, allocations: 1.048 MB / 1.291 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001062/0.9484, allocations: 291.5 kB / 1.291 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.9489, allocations: 388.2 kB / 1.291 GB, free: 10.79 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.9489, allocations: 0 / 1.291 GB, free: 10.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.046/5.995, allocations: 28.77 MB / 1.319 GB, free: 4.832 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/5.995, allocations: 254 kB / 1.32 GB, free: 4.578 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/8.339, allocations: 9.312 kB / 1.32 GB, free: 4.57 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