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.006845/0.006845, allocations: 101 kB / 15.73 MB, free: 5.992 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.001559/0.00156, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.64/2.64, allocations: 437.1 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001883/0.2781, allocations: 0.7023 MB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2792, allocations: 0.8043 MB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.2793, allocations: 0 / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2793, allocations: 3.938 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.2794, allocations: 3.938 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.175e-05/0.2795, allocations: 23.97 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.2796, allocations: 35.92 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2797, allocations: 11.98 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.2798, allocations: 23.86 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.2798, allocations: 23.91 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2798, allocations: 4 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.2799, allocations: 4 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.2799, allocations: 4 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.2799, allocations: 19.86 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.28, allocations: 43.88 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.28, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.28, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.28, allocations: 0 / 1.168 GB, free: 5.586 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.0006044/0.2807, allocations: 362.2 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2807, allocations: 11.97 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.2808, allocations: 34.75 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2808, allocations: 4.844 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2809, allocations: 177.1 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2809, allocations: 4.375 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2809, allocations: 8.312 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.2812, allocations: 66.2 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2812, allocations: 3.938 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2812, allocations: 4 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2812, allocations: 3.938 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.2815, allocations: 63.94 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.2818, allocations: 268.9 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.282, allocations: 58.47 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2822, allocations: 40.92 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2822, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2822, allocations: 34.55 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2822, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004872/0.2827, allocations: 125.6 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2828, allocations: 59.34 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2829, allocations: 109.8 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2829, allocations: 25.7 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.283, allocations: 88.05 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.283, allocations: 11.89 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.283, allocations: 9.719 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2831, allocations: 322.8 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2833, allocations: 31.95 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2834, allocations: 31.97 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2837, allocations: 72.72 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2837, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002917/0.284, allocations: 97.56 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.284, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.284, allocations: 4 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.284, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2841, allocations: 19.97 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2841, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.2842, allocations: 11.98 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2842, allocations: 0 / 1.17 GB, free: 3.227 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 6.736e-05/0.2843, allocations: 123.9 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2843, allocations: 4.234 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2844, allocations: 11.91 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2844, allocations: 7.984 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2844, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2844, allocations: 3.938 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2846, allocations: 169.6 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2846, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.2847, allocations: 19.92 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2847, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.2847, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2847, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2847, allocations: 320 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.285, allocations: 199.3 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.2851, allocations: 85.02 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2851, allocations: 0 / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.2852, allocations: 11.98 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.2853, allocations: 7.984 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2853, allocations: 4 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.2853, allocations: 91.27 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2853, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002143/0.2855, allocations: 4 kB / 1.171 GB, free: 2.391 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.000646/0.2862, allocations: 0.7319 MB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.2865, allocations: 67.92 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2865, allocations: 0 / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.2867, allocations: 39.95 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.287, allocations: 9.875 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.2874, allocations: 155 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.2876, allocations: 0.6806 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.2877, allocations: 4 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2877, allocations: 19.44 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of SimCode: time 2.8e-07/0.2877, allocations: 0 / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3056, allocations: 1.622 MB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.132, allocations: 10.05 kB / 1.174 GB, free: 15.05 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=50 --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