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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008983/0.008983, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.002025/0.002025, allocations: 186 kB / 16.67 MB, free: 5.934 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.87/1.87, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.605/3.605, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003176/0.003176, allocations: 71.89 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9987/1.002, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002182/1.004, allocations: 0.712 MB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001186/1.005, allocations: 0.8001 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/1.005, allocations: 4 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/1.005, allocations: 3.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/1.006, allocations: 3.938 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.9e-05/1.006, allocations: 11.97 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/1.006, allocations: 43.86 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/1.006, allocations: 15.98 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/1.006, allocations: 15.94 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/1.006, allocations: 19.91 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/1.006, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/1.006, allocations: 7.938 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/1.006, allocations: 8 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/1.006, allocations: 19.91 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/1.006, allocations: 39.81 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.006, allocations: 4 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/1.006, allocations: 0 / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.006, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 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.0007216/1.007, allocations: 371 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.007, allocations: 8.922 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/1.007, allocations: 38.69 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/1.007, allocations: 8.891 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.008, allocations: 160.4 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.008, allocations: 8.375 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/1.008, allocations: 384 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/1.008, allocations: 74.14 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.008, allocations: 3.938 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.008, allocations: 4 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.008, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/1.009, allocations: 63.94 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/1.009, allocations: 268.9 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/1.01, allocations: 58.47 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/1.01, allocations: 43.36 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/1.01, allocations: 0 / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.01, allocations: 38.55 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/1.01, allocations: 0 / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0008304/1.011, allocations: 125.6 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/1.011, allocations: 51.41 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.011, allocations: 109.8 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/1.011, allocations: 25.7 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/1.011, allocations: 92.08 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/1.011, allocations: 15.88 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/1.011, allocations: 17.72 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.011, allocations: 310.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.012, allocations: 39.95 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/1.012, allocations: 27.97 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/1.012, allocations: 76.94 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.012, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005189/1.013, allocations: 97.61 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.013, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.013, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.013, allocations: 3.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/1.013, allocations: 23.97 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/1.013, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/1.013, allocations: 15.98 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.013, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 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 0.0001542/1.014, allocations: 109.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.014, allocations: 7.953 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/1.014, allocations: 7.906 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.014, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.014, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.014, allocations: 8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/1.014, allocations: 173.5 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.014, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/1.014, allocations: 11.98 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/1.014, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.014, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.014, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.014, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/1.015, allocations: 203.3 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/1.015, allocations: 81.06 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.015, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.015, allocations: 11.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/1.015, allocations: 3.984 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.015, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.656e-05/1.015, allocations: 87.28 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.015, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004328/1.016, allocations: 8 kB / 1.171 GB, free: 14.86 MB / 0.9044 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.001136/1.017, allocations: 0.7357 MB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004215/1.017, allocations: 67.92 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.017, allocations: 0 / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/1.018, allocations: 35.95 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.018, allocations: 16.48 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/1.018, allocations: 156 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/1.019, allocations: 0.6807 MB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.495e-05/1.019, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/1.019, allocations: 15.38 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/1.019, allocations: 4 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/1.045, allocations: 1.625 MB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.89, allocations: 21.8 kB / 1.174 GB, free: 11.51 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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