Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.001298/0.001298, allocations: 108 kB / 15.6 MB, free: 132 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.001292/0.001292, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5088, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001767/0.5106, allocations: 0.6915 MB / 0.9504 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.5113, allocations: 0.8005 MB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.5113, allocations: 1.375 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.5114, allocations: 3.938 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.5114, allocations: 9.297 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.871e-05/0.5115, allocations: 9.359 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.5116, allocations: 49.67 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.5117, allocations: 8.125 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.5117, allocations: 21.42 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.5118, allocations: 25.39 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.5118, allocations: 4.125 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.5118, allocations: 4.125 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.5118, allocations: 7.938 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.5118, allocations: 20.05 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.118e-05/0.5119, allocations: 34.75 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5119, allocations: 0 / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5119, allocations: 1.375 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5119, allocations: 4 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003873/0.5123, allocations: 367.3 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5124, allocations: 9.625 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.5124, allocations: 40.11 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.5124, allocations: 3.688 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.417e-05/0.5125, allocations: 165.7 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.5125, allocations: 1.75 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5125, allocations: 15.05 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.5127, allocations: 66.84 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.5128, allocations: 3.938 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5128, allocations: 3.938 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5128, allocations: 1.219 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.5131, allocations: 67.36 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.5133, allocations: 271.5 kB / 0.9524 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.5135, allocations: 60.62 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.5137, allocations: 39.48 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.5137, allocations: 0 / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.5137, allocations: 35.5 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5137, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005143/0.5142, allocations: 134.3 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.5143, allocations: 55.34 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.5143, allocations: 108.8 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.5143, allocations: 25.7 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.5144, allocations: 85.7 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.5144, allocations: 14.11 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.5144, allocations: 16.34 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.5145, allocations: 312.3 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.5146, allocations: 36.05 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.5148, allocations: 29.72 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.515, allocations: 71.84 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.515, allocations: 4 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003024/0.5153, allocations: 105.8 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5154, allocations: 4.188 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5154, allocations: 1.25 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5154, allocations: 0 / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5155, allocations: 22.55 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5155, allocations: 4.062 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.5156, allocations: 18.91 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5156, allocations: 1.469 kB / 0.9535 GB, free: 5.754 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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 4.29e-05/0.5157, allocations: 111.2 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.5157, allocations: 2.625 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.5157, allocations: 9.094 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5157, allocations: 0 / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5157, allocations: 1.562 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.5157, allocations: 0 / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.5159, allocations: 176.7 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5159, allocations: 4.266 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.516, allocations: 14.77 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.516, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.516, allocations: 1.406 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.516, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.516, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.5163, allocations: 212.2 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.5163, allocations: 78.17 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.5164, allocations: 1.281 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5165, allocations: 10.73 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.5165, allocations: 5.234 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.5165, allocations: 1.312 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.5165, allocations: 89.34 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5165, allocations: 1.312 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002191/0.5168, allocations: 5.281 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0004779/0.5173, allocations: 0.7366 MB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5176, allocations: 70.8 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5176, allocations: 0 / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5177, allocations: 37.05 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.518, allocations: 8.031 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.5184, allocations: 155.5 kB / 0.9552 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.5185, allocations: 0.6874 MB / 0.9558 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.5185, allocations: 5.5 kB / 0.9558 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.5186, allocations: 12.69 kB / 0.9559 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5186, allocations: 0 / 0.9559 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.5337, allocations: 1.595 MB / 0.9574 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.826, allocations: 9.375 kB / 0.9574 GB, free: 2.516 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches