Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_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.001541/0.001541, 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.001501/0.001501, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.628/2.628, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 73.19 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 159.2 MB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001794/0.2581, allocations: 0.6979 MB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008271/0.2589, allocations: 0.804 MB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.259, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.259, allocations: 7.922 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.2591, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.522e-05/0.2591, allocations: 7.984 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.2592, allocations: 47.8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2593, allocations: 15.98 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.2594, allocations: 15.98 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.2594, allocations: 23.84 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2594, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.2594, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2595, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.2595, allocations: 19.86 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.355e-05/0.2596, allocations: 39.81 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2596, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2596, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2596, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 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.0004833/0.2601, allocations: 363.7 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2601, allocations: 8.031 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.2602, allocations: 38.75 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.2602, allocations: 8.844 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2603, allocations: 168.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2603, allocations: 4.375 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.2604, allocations: 384 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.2606, allocations: 74.2 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2606, allocations: 3.938 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2606, allocations: 4 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2606, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.2609, allocations: 63.92 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.2612, allocations: 276.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2614, allocations: 54.53 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2616, allocations: 40.91 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.2616, allocations: 4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2616, allocations: 38.55 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2616, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004915/0.2621, allocations: 125.5 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2622, allocations: 55.41 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.2623, allocations: 106.1 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2623, allocations: 29.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2623, allocations: 88.12 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2624, allocations: 7.812 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.2624, allocations: 17.72 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2625, allocations: 310.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2627, allocations: 39.95 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2628, allocations: 27.97 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.2631, allocations: 72.72 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2631, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003051/0.2634, allocations: 105.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2634, allocations: 5.562 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2634, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2634, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2636, allocations: 19.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2636, allocations: 4.062 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.2637, allocations: 19.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2637, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 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 7.341e-05/0.2638, allocations: 109.8 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.2638, allocations: 7.906 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.2638, allocations: 7.906 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2638, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2638, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2638, allocations: 3.984 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.264, allocations: 169.6 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.264, allocations: 4 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.2641, allocations: 19.98 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2641, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2641, allocations: 7.938 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2645, allocations: 199.4 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.2645, allocations: 84.95 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2646, allocations: 0 / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2647, allocations: 11.98 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2647, allocations: 4.359 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2647, allocations: 4 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.2648, allocations: 83.28 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2648, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002017/0.265, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 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.0006558/0.2656, allocations: 0.7375 MB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.266, allocations: 71.92 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.266, allocations: 0 / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.2661, allocations: 39.95 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2664, allocations: 11.94 kB / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.2668, allocations: 159.1 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.267, allocations: 0.6807 MB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.2671, allocations: 0 / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.2671, allocations: 15.44 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2671, allocations: 4 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.492/1.76, allocations: 1.59 MB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.77, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches