Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 107.5 kB / 16.41 MB, free: 6.457 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.001061/0.001061, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 55.91 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9553, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2325/1.188, allocations: 198.4 MB / 1.415 GB, free: 11.22 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.198, allocations: 5.158 MB / 1.42 GB, free: 6.051 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/1.2, allocations: 35.81 kB / 1.42 GB, free: 6.016 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/1.203, allocations: 0.621 MB / 1.42 GB, free: 5.391 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00569/1.209, allocations: 1.952 MB / 1.422 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00484/1.213, allocations: 1.664 MB / 1.424 GB, free: 1.781 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004509/1.218, allocations: 2.904 MB / 1.427 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/1.221, allocations: 1.444 MB / 1.428 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/1.224, allocations: 1.246 MB / 1.429 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/1.226, allocations: 1.156 MB / 1.43 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006553/1.226, allocations: 188 kB / 1.431 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/1.23, allocations: 1.391 MB / 1.432 GB, free: 9.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009623/1.231, allocations: 0.5453 MB / 1.432 GB, free: 8.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/1.233, allocations: 0.8437 MB / 1.433 GB, free: 8.016 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00387/1.236, allocations: 2.504 MB / 1.436 GB, free: 5.504 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.236, allocations: 0 / 1.436 GB, free: 5.504 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.793e-06/1.236, allocations: 0 / 1.436 GB, free: 5.504 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.524e-05/1.237, allocations: 4 kB / 1.436 GB, free: 5.5 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006988/1.244, allocations: 2.122 MB / 1.438 GB, free: 3.32 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.244, allocations: 8.625 kB / 1.438 GB, free: 3.312 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.245, allocations: 230 kB / 1.438 GB, free: 3.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/1.248, allocations: 1.349 MB / 1.439 GB, free: 1.684 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/1.248, allocations: 53.31 kB / 1.439 GB, free: 1.633 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.248, allocations: 87.97 kB / 1.439 GB, free: 1.547 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.25, allocations: 0.8066 MB / 1.44 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.25, allocations: 0 / 1.44 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/1.25, allocations: 24 kB / 1.44 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/1.25, allocations: 29.3 kB / 1.44 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.252, allocations: 0.8406 MB / 1.441 GB, free: 15.84 MB / 1.17 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.006731/1.259, allocations: 3.451 MB / 1.445 GB, free: 12.22 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.26, allocations: 0.7315 MB / 1.445 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/1.261, allocations: 447.9 kB / 1.446 GB, free: 11.03 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/1.261, allocations: 299.7 kB / 1.446 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.262, allocations: 39 kB / 1.446 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001101/1.263, allocations: 183.4 kB / 1.446 GB, free: 10.45 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 5.541e-06/1.263, allocations: 4 kB / 1.446 GB, free: 10.45 MB / 1.17 GB Notification: Performance of matching and sorting (n=53): time 0.003227/1.266, allocations: 1.309 MB / 1.447 GB, free: 9.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/1.266, allocations: 59.84 kB / 1.448 GB, free: 9.062 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/1.269, allocations: 1.629 MB / 1.449 GB, free: 7.418 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.269, allocations: 49.7 kB / 1.449 GB, free: 7.363 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/1.269, allocations: 0.5268 MB / 1.45 GB, free: 6.836 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/1.27, allocations: 185.3 kB / 1.45 GB, free: 6.652 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/1.27, allocations: 154.1 kB / 1.45 GB, free: 6.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.27, allocations: 330 kB / 1.45 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/1.271, allocations: 354.9 kB / 1.451 GB, free: 5.816 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.272, allocations: 0.6245 MB / 1.451 GB, free: 5.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/1.273, allocations: 0.7649 MB / 1.452 GB, free: 4.328 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.273, allocations: 0 / 1.452 GB, free: 4.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002137/1.275, allocations: 0.9698 MB / 1.453 GB, free: 3.348 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.275, allocations: 8 kB / 1.453 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.276, allocations: 3.938 kB / 1.453 GB, free: 3.336 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.276, allocations: 4 kB / 1.453 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/1.276, allocations: 163.8 kB / 1.453 GB, free: 3.172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/1.276, allocations: 4 kB / 1.453 GB, free: 3.168 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.278, allocations: 119.8 kB / 1.453 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/1.278, allocations: 31.95 kB / 1.453 GB, free: 3.02 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/1.279, allocations: 0.5713 MB / 1.454 GB, free: 2.445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009844/1.28, allocations: 0.6249 MB / 1.454 GB, free: 1.711 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001466/1.282, allocations: 0.7724 MB / 1.455 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/1.282, allocations: 0 / 1.455 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002157/1.284, allocations: 0.9598 MB / 1.456 GB, free: 15.96 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.284, allocations: 8 kB / 1.456 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/1.284, allocations: 0 / 1.456 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/1.284, allocations: 4 kB / 1.456 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/1.285, allocations: 163.7 kB / 1.456 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.285, allocations: 4 kB / 1.456 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.287, allocations: 168.2 kB / 1.456 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/1.287, allocations: 31.95 kB / 1.456 GB, free: 15.59 MB / 1.186 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 (57): * Single equations (assignments): 57 * 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.0002652/1.287, allocations: 212.1 kB / 1.457 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/1.288, allocations: 138.3 kB / 1.457 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/1.29, allocations: 1.027 MB / 1.458 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.29, allocations: 3.984 kB / 1.458 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.29, allocations: 0 / 1.458 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007072/1.291, allocations: 351.3 kB / 1.458 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/1.291, allocations: 12 kB / 1.458 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.292, allocations: 67.89 kB / 1.458 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.292, allocations: 44.5 kB / 1.458 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002111/1.294, allocations: 0.9554 MB / 1.459 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002691/1.297, allocations: 1.573 MB / 1.461 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007249/1.298, allocations: 400.3 kB / 1.461 GB, free: 10.77 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002096/1.3, allocations: 1.186 MB / 1.462 GB, free: 9.582 MB / 1.186 GB Notification: Performance of Backend: time 2.094e-06/1.3, allocations: 0 / 1.462 GB, free: 9.582 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003619/1.304, allocations: 1.248 MB / 1.463 GB, free: 8.344 MB / 1.186 GB Notification: Performance of SimCode: time 0.005624/1.309, allocations: 2.67 MB / 1.466 GB, free: 5.621 MB / 1.186 GB Notification: Performance of Templates: time 0.05366/1.363, allocations: 31.96 MB / 1.497 GB, free: 5.961 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches