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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 105 kB / 15.99 MB, free: 6.344 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.001705/0.001705, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7423 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2882, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002057/0.2902, allocations: 0.769 MB / 1.065 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.2912, allocations: 0.804 MB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2912, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.2913, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.2914, allocations: 3.984 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.867e-05/0.2914, allocations: 12 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.2915, allocations: 47.78 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2916, allocations: 12 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.2917, allocations: 19.92 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.2917, allocations: 19.92 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2918, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.2918, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2918, allocations: 11.97 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2918, allocations: 15.88 kB / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.443e-05/0.2919, allocations: 27.94 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2919, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2919, allocations: 4 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2919, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8419 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.0005505/0.2925, allocations: 363.7 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2925, allocations: 8.625 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2926, allocations: 8.844 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2927, allocations: 168.3 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2927, allocations: 384 / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2927, allocations: 4.375 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.293, allocations: 70.22 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.293, allocations: 192 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.293, allocations: 3.938 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.293, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2933, allocations: 59.92 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2937, allocations: 272.9 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2939, allocations: 66.41 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.294, allocations: 32.92 kB / 1.066 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2941, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2941, allocations: 34.56 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2941, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005111/0.2946, allocations: 129.7 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2946, allocations: 55.41 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.2947, allocations: 105.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2947, allocations: 29.7 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2948, allocations: 84.14 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2948, allocations: 19.78 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.2949, allocations: 17.66 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.295, allocations: 314.8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2951, allocations: 31.97 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2953, allocations: 35.94 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2955, allocations: 68.78 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2955, allocations: 11.94 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/0.2958, allocations: 101.5 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2958, allocations: 8 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2959, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2959, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.296, allocations: 15.98 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.296, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.2961, allocations: 15.97 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2961, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8419 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.048e-05/0.2962, allocations: 113.8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.2962, allocations: 7.906 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.2962, allocations: 3.906 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2962, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2963, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2963, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2964, allocations: 173.6 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2964, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.2965, allocations: 15.98 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2965, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.2966, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2966, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2966, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.2969, allocations: 207.3 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.297, allocations: 84.95 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.297, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2971, allocations: 11.98 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.2972, allocations: 7.984 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2972, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.2972, allocations: 83.59 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2972, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002156/0.2974, allocations: 12 kB / 1.068 GB, free: 10.45 MB / 0.8419 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.0001217/0.2976, allocations: 95.25 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.2979, allocations: 75.84 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2979, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.298, allocations: 35.97 kB / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2983, allocations: 11.88 kB / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.2987, allocations: 167.2 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2989, allocations: 0.6846 MB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.299, allocations: 7.438 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.299, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of Templates: time 0.002007/0.301, allocations: 0.7422 MB / 1.07 GB, free: 8.578 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/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