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: 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.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001943/0.001943, allocations: 195 kB / 16.14 MB, free: 6.648 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.47 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1832/0.4947, allocations: 187.4 MB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007229/0.502, allocations: 4.31 MB / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.5034, allocations: 27.81 kB / 1.239 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.5049, allocations: 417.6 kB / 1.24 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.5089, allocations: 1.474 MB / 1.241 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.513, allocations: 1.222 MB / 1.242 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00378/0.5168, allocations: 2.779 MB / 1.245 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.5183, allocations: 0.9304 MB / 1.246 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.5202, allocations: 0.8365 MB / 1.247 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8512/1.371, allocations: 0.8361 MB / 1.248 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005775/1.372, allocations: 68.95 kB / 1.248 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/1.375, allocations: 1.372 MB / 1.249 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000613/1.376, allocations: 349.8 kB / 1.249 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/1.377, allocations: 0.5705 MB / 1.25 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/1.381, allocations: 1.993 MB / 1.252 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.381, allocations: 0 / 1.252 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.381, allocations: 0 / 1.252 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.171e-05/1.381, allocations: 2.906 kB / 1.252 GB, free: 4.965 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.005631/1.387, allocations: 1.722 MB / 1.254 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.387, allocations: 10.59 kB / 1.254 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/1.388, allocations: 183 kB / 1.254 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/1.39, allocations: 1.045 MB / 1.255 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.39, allocations: 53.34 kB / 1.255 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.39, allocations: 55.31 kB / 1.255 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.392, allocations: 0.6153 MB / 1.256 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/1.392, allocations: 0 / 1.256 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/1.392, allocations: 20.53 kB / 1.256 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/1.392, allocations: 20.06 kB / 1.256 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/1.393, allocations: 0.6227 MB / 1.256 GB, free: 3.734 MB / 0.9981 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.005156/1.398, allocations: 2.659 MB / 1.259 GB, free: 18.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.399, allocations: 0.5407 MB / 1.259 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/1.4, allocations: 347.2 kB / 1.26 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/1.401, allocations: 297.9 kB / 1.26 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.401, allocations: 38.08 kB / 1.26 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001094/1.402, allocations: 155.2 kB / 1.26 GB, free: 18.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 4.719e-06/1.402, allocations: 0 / 1.26 GB, free: 18.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.00261/1.404, allocations: 1.02 MB / 1.261 GB, free: 18.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.404, allocations: 58.81 kB / 1.261 GB, free: 18.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/1.407, allocations: 1.277 MB / 1.262 GB, free: 18.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.407, allocations: 38.98 kB / 1.262 GB, free: 18.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/1.407, allocations: 435 kB / 1.263 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.407, allocations: 149.5 kB / 1.263 GB, free: 17.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.408, allocations: 122.2 kB / 1.263 GB, free: 17.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.408, allocations: 322.6 kB / 1.263 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/1.408, allocations: 275.3 kB / 1.264 GB, free: 17.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/1.409, allocations: 485.7 kB / 1.264 GB, free: 17.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.411, allocations: 0.586 MB / 1.265 GB, free: 17.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.411, allocations: 3.938 kB / 1.265 GB, free: 17.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002105/1.413, allocations: 0.7404 MB / 1.265 GB, free: 17.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.413, allocations: 4.531 kB / 1.265 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.413, allocations: 2.281 kB / 1.265 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.413, allocations: 2.188 kB / 1.265 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/1.414, allocations: 122.5 kB / 1.266 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.414, allocations: 3.5 kB / 1.266 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.415, allocations: 110.2 kB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/1.415, allocations: 21.05 kB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009994/1.416, allocations: 465.3 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008142/1.417, allocations: 486 kB / 1.267 GB, free: 17.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/1.418, allocations: 0.5697 MB / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/1.418, allocations: 0 / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00194/1.42, allocations: 0.7447 MB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.42, allocations: 5.469 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.42, allocations: 2.656 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/1.42, allocations: 2.953 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/1.421, allocations: 125 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.421, allocations: 1.844 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.423, allocations: 138.5 kB / 1.268 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1.423, allocations: 24.84 kB / 1.268 GB, free: 16.88 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.0003137/1.423, allocations: 205.6 kB / 1.268 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/1.424, allocations: 110.7 kB / 1.268 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/1.426, allocations: 0.8023 MB / 1.269 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.426, allocations: 4.781 kB / 1.269 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.426, allocations: 0.5312 kB / 1.269 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.426, allocations: 3.594 kB / 1.269 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/1.431, allocations: 1.952 MB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.431, allocations: 3.141 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/1.431, allocations: 107.5 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.431, allocations: 5.688 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.431, allocations: 18.81 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/1.431, allocations: 5 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.431, allocations: 3.438 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/1.434, allocations: 1.234 MB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/1.434, allocations: 289.8 kB / 1.273 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/1.435, allocations: 16.47 kB / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.436, allocations: 76.34 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.436, allocations: 39.56 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/1.436, allocations: 15.59 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001851/1.438, allocations: 0.9278 MB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.438, allocations: 2.906 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001895/1.44, allocations: 402.2 kB / 1.274 GB, free: 15.59 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.0007075/1.441, allocations: 226.9 kB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00235/1.443, allocations: 0.9375 MB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.443, allocations: 0 / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/1.444, allocations: 338.1 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/1.447, allocations: 467.9 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/1.45, allocations: 2 MB / 1.278 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/1.451, allocations: 1.046 MB / 1.279 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001772/1.453, allocations: 295.8 kB / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/1.453, allocations: 97.61 kB / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.453, allocations: 1.203 kB / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Templates: time 0.03891/1.492, allocations: 20.59 MB / 1.3 GB, free: 12.49 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/jenkins/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