Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.0008756/0.0008757, allocations: 92 kB / 15.36 MB, free: 0.7383 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.004882/0.004882, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.317/2.317, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002989, allocations: 16 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5011, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.0007154/0.5018, allocations: 438.2 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.5026, allocations: 0.804 MB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.5027, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.5027, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.5027, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.949e-05/0.5028, allocations: 15.98 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.5029, allocations: 39.86 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.503, allocations: 7.984 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.503, allocations: 19.92 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.5031, allocations: 23.86 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5031, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.5031, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.5031, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.5031, allocations: 45.61 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.243e-05/0.5032, allocations: 39.81 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5032, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5032, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.5032, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.7794 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.0004154/0.5037, allocations: 373.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.5037, allocations: 8.031 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.5037, allocations: 34.75 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.5038, allocations: 4.938 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.977e-05/0.5038, allocations: 164.3 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5039, allocations: 8.375 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.5039, allocations: 4.359 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.5041, allocations: 82.16 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5041, allocations: 3.938 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.5041, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.5041, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.5044, allocations: 91.92 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.5047, allocations: 264.9 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.5049, allocations: 70.48 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.5051, allocations: 52.84 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5051, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.5051, allocations: 34.56 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5051, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005133/0.5057, allocations: 153.6 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.5057, allocations: 51.41 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.5058, allocations: 121.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5058, allocations: 25.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.5058, allocations: 92.12 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.5058, allocations: 19.83 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.5059, allocations: 9.719 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.506, allocations: 310.8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5061, allocations: 47.95 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5063, allocations: 39.97 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.5065, allocations: 92.72 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5066, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000322/0.5069, allocations: 125.5 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5069, allocations: 9.719 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5069, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5069, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5071, allocations: 27.91 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5071, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.5072, allocations: 20.31 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.5072, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 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 6.029e-05/0.5072, allocations: 114.3 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5073, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.5073, allocations: 11.89 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5073, allocations: 3.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5073, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.5073, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5074, allocations: 165.6 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.5075, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.5076, allocations: 19.98 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5076, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5076, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5076, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5076, allocations: 3.984 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.5079, allocations: 223.3 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.508, allocations: 77.11 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.508, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5081, allocations: 15.98 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.5082, allocations: 7.984 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.5082, allocations: 3.938 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.5082, allocations: 91.27 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5082, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002012/0.5084, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 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.0005784/0.509, allocations: 0.7514 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.5093, allocations: 95.86 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5093, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5095, allocations: 47.95 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5098, allocations: 8 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.5101, allocations: 168.7 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.5103, allocations: 0.6848 MB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.5103, allocations: 0 / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.5104, allocations: 15.44 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of SimCode: time 2.083e-06/0.5104, allocations: 0 / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.179/0.6894, allocations: 1.303 MB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.6897, allocations: 199 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.211, allocations: 0 / 1.031 GB, free: 7.695 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches