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.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: "" <> 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.001591/0.001591, 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.001967/0.001968, allocations: 193.9 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.7 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001967/0.2496, allocations: 0.6964 MB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.2505, allocations: 0.8118 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.2505, allocations: 3.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.2506, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2506, allocations: 7.875 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.712e-05/0.2507, allocations: 11.98 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.2508, allocations: 43.86 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2509, allocations: 11.98 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.251, allocations: 15.92 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.251, allocations: 31.86 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2511, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2511, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2511, allocations: 11.97 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2511, allocations: 15.88 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.006e-05/0.2512, allocations: 35.88 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2512, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2512, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2512, allocations: 0 / 1.065 GB, free: 12.73 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.0004881/0.2517, allocations: 367.7 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2518, allocations: 8.031 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2518, allocations: 30.75 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.2518, allocations: 12.78 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2519, allocations: 168.3 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.252, allocations: 384 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.252, allocations: 4.375 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.2522, allocations: 74.2 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2522, allocations: 3.938 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2523, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2523, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2526, allocations: 63.92 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.2529, allocations: 272.8 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2531, allocations: 58.53 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2533, allocations: 44.89 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2533, allocations: 0 / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2533, allocations: 34.56 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2533, allocations: 0 / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005159/0.2538, allocations: 125.5 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2539, allocations: 51.41 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.254, allocations: 121.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.254, allocations: 25.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.254, allocations: 88.12 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.2541, allocations: 11.81 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2541, allocations: 9.719 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.2542, allocations: 318.8 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2543, allocations: 35.89 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2545, allocations: 31.97 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2548, allocations: 72.72 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003196/0.2551, allocations: 101.6 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2551, allocations: 5.25 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2551, allocations: 0 / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2552, allocations: 3.938 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2553, allocations: 19.97 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2553, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.2554, allocations: 11.98 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2554, allocations: 0 / 1.067 GB, free: 10.36 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 6.672e-05/0.2555, allocations: 121.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2555, allocations: 3.906 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.2555, allocations: 3.906 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2555, allocations: 7.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2555, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2555, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2557, allocations: 169.6 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2557, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.2558, allocations: 15.92 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2558, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2558, allocations: 4 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2558, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2559, allocations: 3.984 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2562, allocations: 195.4 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.2562, allocations: 84.95 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2563, allocations: 4 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2564, allocations: 7.984 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.2564, allocations: 12.36 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2564, allocations: 4 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.2565, allocations: 87.27 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2565, allocations: 4 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002164/0.2567, allocations: 4 kB / 1.068 GB, free: 9.543 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.0006127/0.2573, allocations: 0.7342 MB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2577, allocations: 75.92 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2577, allocations: 3.938 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2578, allocations: 39.89 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2581, allocations: 8 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.2586, allocations: 155.2 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2588, allocations: 0.6807 MB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.2588, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.2589, allocations: 23.42 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2589, allocations: 3.938 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.2741, allocations: 1.59 MB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.248, allocations: 1.406 kB / 1.071 GB, free: 6.223 MB / 0.8262 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