Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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_11_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_11_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.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001393/0.001393, allocations: 194.4 kB / 16.25 MB, free: 6.629 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.983/2.983, allocations: 469.8 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 74 kB / 0.9081 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002117/0.316, allocations: 0.7573 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.3169, allocations: 0.8019 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.317, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.317, allocations: 7.875 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.3171, allocations: 4 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.44e-05/0.3172, allocations: 15.92 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3172, allocations: 39.86 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3174, allocations: 23.97 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.3174, allocations: 8 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.3175, allocations: 31.84 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3175, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.3175, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3175, allocations: 8 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.3176, allocations: 11.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.781e-05/0.3177, allocations: 43.81 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3177, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3177, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3177, allocations: 0 / 1.065 GB, free: 12.84 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.0005286/0.3182, allocations: 367.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3183, allocations: 12.03 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.3183, allocations: 4.844 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3184, allocations: 176.2 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3185, allocations: 384 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3185, allocations: 4.375 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3187, allocations: 66.22 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3187, allocations: 4.188 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3188, allocations: 3.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3188, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.3191, allocations: 63.92 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.3194, allocations: 276.8 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3197, allocations: 58.47 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3198, allocations: 36.92 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3198, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3199, allocations: 34.56 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3199, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005063/0.3204, allocations: 129.5 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3204, allocations: 55.41 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.3205, allocations: 105.8 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3206, allocations: 29.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.3206, allocations: 88.14 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3207, allocations: 11.81 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.3207, allocations: 17.7 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3208, allocations: 314.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.321, allocations: 23.97 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3211, allocations: 39.95 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.3214, allocations: 68.72 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3214, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003071/0.3217, allocations: 105.8 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3217, allocations: 11.94 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3217, allocations: 48 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3218, allocations: 3.984 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3219, allocations: 11.98 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3219, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.322, allocations: 11.97 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.322, allocations: 0 / 1.067 GB, free: 10.51 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 8.348e-05/0.3221, allocations: 117.8 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3221, allocations: 3.906 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.3222, allocations: 11.91 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3222, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3222, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3222, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3224, allocations: 173.6 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3224, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.3225, allocations: 15.98 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3225, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3225, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3225, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3225, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.3229, allocations: 199.3 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.3229, allocations: 92.95 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3229, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3231, allocations: 15.98 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3231, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3231, allocations: 3.984 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.3232, allocations: 87.28 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3232, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002093/0.3234, allocations: 8 kB / 1.068 GB, free: 9.695 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.0001458/0.3235, allocations: 103.2 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.3239, allocations: 71.86 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3239, allocations: 0 / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.324, allocations: 35.95 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3243, allocations: 13.5 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.3246, allocations: 137.6 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.325, allocations: 0.6844 MB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.325, allocations: 8 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.325, allocations: 7.438 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.325, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.002744/0.3278, allocations: 0.5698 MB / 1.07 GB, free: 8.02 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches