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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007657/0.007657, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.002222/0.002222, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 76.09 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6378/0.8872, allocations: 189.6 MB / 1.427 GB, free: 6.148 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005908/0.8931, allocations: 4.198 MB / 1.431 GB, free: 2.715 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.8935, allocations: 28.72 kB / 1.431 GB, free: 2.703 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.8946, allocations: 0.498 MB / 1.432 GB, free: 2.281 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.8971, allocations: 1.55 MB / 1.433 GB, free: 1.062 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.8996, allocations: 1.332 MB / 1.434 GB, free: 100 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.9014, allocations: 2.196 MB / 1.437 GB, free: 14.81 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.9025, allocations: 1.062 MB / 1.438 GB, free: 14.1 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.9039, allocations: 1.149 MB / 1.439 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.9048, allocations: 0.8384 MB / 1.44 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.905, allocations: 136 kB / 1.44 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.9067, allocations: 1.232 MB / 1.441 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.9071, allocations: 410.7 kB / 1.441 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.9077, allocations: 0.622 MB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.9096, allocations: 1.935 MB / 1.444 GB, free: 8.449 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9096, allocations: 11.94 kB / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9097, allocations: 0 / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.9097, allocations: 0 / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.003471/0.9131, allocations: 1.707 MB / 1.445 GB, free: 6.676 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.9132, allocations: 12.03 kB / 1.445 GB, free: 6.664 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.678e-05/0.9133, allocations: 90.45 kB / 1.446 GB, free: 6.566 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006972/0.914, allocations: 187.2 kB / 1.446 GB, free: 6.383 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.9156, allocations: 1.057 MB / 1.447 GB, free: 5.27 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.9156, allocations: 41 kB / 1.447 GB, free: 5.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.9157, allocations: 59.94 kB / 1.447 GB, free: 5.172 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.9168, allocations: 0.6115 MB / 1.447 GB, free: 4.559 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.9169, allocations: 0 / 1.447 GB, free: 4.559 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.9169, allocations: 16 kB / 1.447 GB, free: 4.543 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.9169, allocations: 12 kB / 1.447 GB, free: 4.531 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.9182, allocations: 0.6167 MB / 1.448 GB, free: 3.91 MB / 1.139 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.00349/0.9217, allocations: 2.611 MB / 1.451 GB, free: 1.156 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.9228, allocations: 0.5415 MB / 1.451 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.9234, allocations: 357.3 kB / 1.451 GB, free: 260 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.9238, allocations: 287.4 kB / 1.452 GB, free: 15.92 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.9239, allocations: 46.48 kB / 1.452 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005052/0.9244, allocations: 147.6 kB / 1.452 GB, free: 15.72 MB / 1.154 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.9244, allocations: 0 / 1.452 GB, free: 15.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.002233/0.9266, allocations: 1.019 MB / 1.453 GB, free: 14.69 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.9267, allocations: 55.41 kB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.9283, allocations: 1.237 MB / 1.454 GB, free: 13.37 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.9284, allocations: 37.7 kB / 1.454 GB, free: 13.32 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.9287, allocations: 421.9 kB / 1.455 GB, free: 12.91 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.9288, allocations: 146.7 kB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.929, allocations: 117.6 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9292, allocations: 318 kB / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.9298, allocations: 273.7 kB / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.9305, allocations: 482.4 kB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9317, allocations: 0.5788 MB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9317, allocations: 4 kB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001439/0.9332, allocations: 0.7308 MB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.9332, allocations: 4 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.9332, allocations: 7.938 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9332, allocations: 4 kB / 1.457 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.9338, allocations: 103.8 kB / 1.457 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9338, allocations: 2.5 kB / 1.457 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/0.9347, allocations: 104.7 kB / 1.457 GB, free: 9.969 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.9348, allocations: 19.97 kB / 1.457 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000767/0.9356, allocations: 463.7 kB / 1.458 GB, free: 9.492 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000749/0.9363, allocations: 487 kB / 1.458 GB, free: 8.938 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.9374, allocations: 0.572 MB / 1.459 GB, free: 8.359 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.9375, allocations: 0 / 1.459 GB, free: 8.359 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00143/0.9389, allocations: 0.731 MB / 1.46 GB, free: 7.621 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.9389, allocations: 7.938 kB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.9389, allocations: 0 / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.9389, allocations: 4 kB / 1.46 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.9394, allocations: 103.8 kB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9394, allocations: 4 kB / 1.46 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.9405, allocations: 133.2 kB / 1.46 GB, free: 7.379 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.9406, allocations: 23.98 kB / 1.46 GB, free: 7.355 MB / 1.154 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 (42): * Single equations (assignments): 42 * 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.0001521/0.9407, allocations: 204.2 kB / 1.46 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.9409, allocations: 111.2 kB / 1.46 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.9426, allocations: 0.8026 MB / 1.461 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9426, allocations: 7.938 kB / 1.461 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9426, allocations: 0 / 1.461 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9426, allocations: 3.984 kB / 1.461 GB, free: 6.211 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.9453, allocations: 1.912 MB / 1.463 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.9454, allocations: 7.984 kB / 1.463 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.9459, allocations: 116.1 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9459, allocations: 7.984 kB / 1.463 GB, free: 4.086 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.9459, allocations: 12 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.946, allocations: 7.938 kB / 1.463 GB, free: 4.066 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.946, allocations: 4 kB / 1.463 GB, free: 4.062 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.948, allocations: 1.23 MB / 1.464 GB, free: 2.789 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.9484, allocations: 284.2 kB / 1.464 GB, free: 2.492 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.9485, allocations: 8 kB / 1.464 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.9493, allocations: 67.92 kB / 1.465 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.9494, allocations: 47.88 kB / 1.465 GB, free: 2.371 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.9495, allocations: 16 kB / 1.465 GB, free: 2.355 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00123/0.9507, allocations: 0.9 MB / 1.465 GB, free: 1.445 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9507, allocations: 0 / 1.465 GB, free: 1.445 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008356/0.9516, allocations: 395.4 kB / 1.466 GB, free: 1.059 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.002624/0.9542, allocations: 1.887 MB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.9561, allocations: 0.9393 MB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9561, allocations: 4 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.9567, allocations: 335.4 kB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.9585, allocations: 428.5 kB / 1.469 GB, free: 13.44 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.9703, allocations: 8.309 MB / 1.477 GB, free: 4.953 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.9708, allocations: 1.026 MB / 1.478 GB, free: 3.902 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007785/0.9716, allocations: 282.8 kB / 1.479 GB, free: 3.621 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.9722, allocations: 391.2 kB / 1.479 GB, free: 3.238 MB / 1.17 GB Notification: Performance of SimCode: time 2.21e-07/0.9722, allocations: 0 / 1.479 GB, free: 3.238 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.019/9.991, allocations: 29.67 MB / 1.508 GB, free: 5.953 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.62/38.61, allocations: 11.98 kB / 1.508 GB, free: 5.941 MB / 1.201 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=400 --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