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.003967/0.003967, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001126/0.001126, allocations: 201.2 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002212, allocations: 71.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.269, allocations: 151.6 MB / 1.166 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001687/0.2707, allocations: 0.7041 MB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.2716, allocations: 0.8082 MB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.2716, allocations: 4 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2716, allocations: 3.938 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.2717, allocations: 3.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.949e-05/0.2717, allocations: 7.984 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.2718, allocations: 47.84 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.2719, allocations: 20 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.272, allocations: 19.91 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.272, allocations: 15.92 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2721, allocations: 4 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.2721, allocations: 4 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2721, allocations: 15.92 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.2721, allocations: 11.94 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.2722, allocations: 44.08 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2722, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2722, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2723, allocations: 8 kB / 1.168 GB, free: 5.465 MB / 0.92 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.0004965/0.2728, allocations: 359.3 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2728, allocations: 8.031 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.2728, allocations: 34.75 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.2729, allocations: 8.891 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.273, allocations: 176.3 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.273, allocations: 4.375 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.273, allocations: 384 / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.2733, allocations: 70.22 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2733, allocations: 3.938 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2733, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2733, allocations: 3.938 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.2736, allocations: 63.92 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2739, allocations: 280.7 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.2741, allocations: 54.55 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2743, allocations: 36.91 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.2743, allocations: 4 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2743, allocations: 34.56 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2743, allocations: 0 / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004999/0.2748, allocations: 133.5 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2749, allocations: 55.41 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.275, allocations: 105.8 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.275, allocations: 25.7 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.275, allocations: 88.14 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.275, allocations: 11.91 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.2751, allocations: 13.72 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2752, allocations: 314.8 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2754, allocations: 35.97 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2755, allocations: 31.95 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2758, allocations: 68.73 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2758, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.2761, allocations: 109.5 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2761, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2761, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2761, allocations: 3.938 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2763, allocations: 15.98 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2763, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.2763, allocations: 15.98 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2764, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 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.067e-05/0.2764, allocations: 109.8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2765, allocations: 11.94 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.2765, allocations: 7.906 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2765, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2765, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2765, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2767, allocations: 169.6 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2767, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.2768, allocations: 23.97 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2768, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.2768, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2768, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2768, allocations: 4 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.2772, allocations: 199.4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.2772, allocations: 85 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2772, allocations: 3.984 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2773, allocations: 11.98 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2774, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2774, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.2774, allocations: 87.27 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2774, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001998/0.2776, allocations: 15.94 kB / 1.171 GB, free: 2.27 MB / 0.92 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.0006527/0.2783, allocations: 0.7322 MB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.2786, allocations: 75.97 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2786, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2788, allocations: 36.05 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.279, allocations: 9.703 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.2794, allocations: 151 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2797, allocations: 0.6807 MB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.2797, allocations: 3.984 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2798, allocations: 15.38 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2798, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.619/1.899, allocations: 1.63 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/11.22, allocations: 18.53 kB / 1.174 GB, free: 14.93 MB / 0.9356 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=400 --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