Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_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.006779/0.006779, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001254/0.001254, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 159.1 MB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001766/0.2714, allocations: 0.7054 MB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.2723, allocations: 0.798 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2723, allocations: 4 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.2724, allocations: 3.938 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.2724, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.105e-05/0.2725, allocations: 7.984 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.2726, allocations: 55.84 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.2727, allocations: 15.92 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.2727, allocations: 15.92 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.2728, allocations: 23.91 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2728, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.2728, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2728, allocations: 11.94 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.2729, allocations: 19.92 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.273, allocations: 35.81 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.273, allocations: 8 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.273, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.273, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 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.0004929/0.2735, allocations: 367.3 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2735, allocations: 12.02 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.2736, allocations: 30.75 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.2736, allocations: 8.891 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2737, allocations: 172.4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2737, allocations: 4.375 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2738, allocations: 4.375 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.274, allocations: 74.16 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.274, allocations: 7.922 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.274, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.274, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.2743, allocations: 63.94 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2747, allocations: 268.9 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2749, allocations: 62.47 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2751, allocations: 36.92 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2751, allocations: 4 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2751, allocations: 30.56 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.2751, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005193/0.2756, allocations: 133.7 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.2757, allocations: 51.41 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.2758, allocations: 113.8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2758, allocations: 29.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.2758, allocations: 80.14 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.2758, allocations: 19.83 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.2759, allocations: 13.72 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.276, allocations: 318.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2762, allocations: 35.95 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2763, allocations: 23.97 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2766, allocations: 76.72 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2766, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003149/0.2769, allocations: 101.6 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2769, allocations: 7.938 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2769, allocations: 3.938 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.277, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2771, allocations: 15.98 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2771, allocations: 7.984 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.2772, allocations: 15.94 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2772, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 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.412e-05/0.2773, allocations: 118.3 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.2773, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.2773, allocations: 3.906 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2773, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2773, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2773, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2775, allocations: 173.6 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2775, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.2776, allocations: 11.98 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2776, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2776, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2776, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2776, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.278, allocations: 207.3 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.278, allocations: 77.11 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2781, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2782, allocations: 11.98 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2782, allocations: 11.98 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2782, allocations: 0 / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.2783, allocations: 83.28 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2783, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002242/0.2785, allocations: 12 kB / 1.224 GB, free: 9.66 MB / 0.9825 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.0006213/0.2791, allocations: 0.7357 MB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2795, allocations: 68.2 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2795, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2796, allocations: 39.95 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.28, allocations: 4 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2804, allocations: 163 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2806, allocations: 0.6807 MB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.2806, allocations: 15.86 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.2807, allocations: 11.44 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2807, allocations: 8 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.2969, allocations: 1.626 MB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.552, allocations: 5.625 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches