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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001084/0.001084, allocations: 106.2 kB / 16.37 MB, free: 6.473 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.001067/0.001067, allocations: 196.9 kB / 17.31 MB, free: 5.824 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.34 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3079, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002062/0.31, allocations: 0.7078 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.3109, allocations: 0.8001 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.311, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.311, allocations: 3.938 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.3111, allocations: 19.86 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.437e-05/0.3112, allocations: 11.98 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.3113, allocations: 43.84 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3114, allocations: 8 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.3115, allocations: 19.92 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3115, allocations: 23.91 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3115, allocations: 4 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.3116, allocations: 4 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.3116, allocations: 4 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.3116, allocations: 23.86 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.442e-05/0.3117, allocations: 43.86 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3117, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3117, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3118, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 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.0005598/0.3123, allocations: 359.3 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3124, allocations: 8.922 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3124, allocations: 4.938 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3126, allocations: 176.2 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3126, allocations: 8.375 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3126, allocations: 4.375 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3128, allocations: 66.16 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3128, allocations: 4.188 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3129, allocations: 3.938 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3129, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.3131, allocations: 67.92 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.3135, allocations: 261 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3137, allocations: 66.41 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3138, allocations: 36.92 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3139, allocations: 4 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3139, allocations: 34.5 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3139, allocations: 0 / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004878/0.3144, allocations: 133.5 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3144, allocations: 55.34 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.3145, allocations: 109.8 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3146, allocations: 33.64 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3146, allocations: 80.14 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3146, allocations: 11.81 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3147, allocations: 13.72 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3148, allocations: 322.8 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3149, allocations: 31.97 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.3151, allocations: 31.95 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.3153, allocations: 77.05 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3153, allocations: 3.938 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002896/0.3156, allocations: 93.62 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3156, allocations: 7.938 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3156, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3157, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3158, allocations: 19.98 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3158, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.3159, allocations: 11.98 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3159, allocations: 0 / 1.023 GB, free: 5.812 MB / 0.795 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.788e-05/0.316, allocations: 120.2 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.316, allocations: 7.906 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.316, allocations: 3.906 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.316, allocations: 0 / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3161, allocations: 8 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3161, allocations: 0 / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3162, allocations: 173.6 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3162, allocations: 0 / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.3163, allocations: 15.97 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3164, allocations: 0 / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.3164, allocations: 8 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3164, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.3167, allocations: 199.4 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3168, allocations: 92.88 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3168, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3169, allocations: 11.98 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3169, allocations: 8 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.317, allocations: 4 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.317, allocations: 87.27 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.317, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002183/0.3172, allocations: 8 kB / 1.023 GB, free: 4.984 MB / 0.795 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.000145/0.3174, allocations: 99.25 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.3177, allocations: 67.92 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3177, allocations: 3.938 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3179, allocations: 39.89 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3182, allocations: 11.94 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.3185, allocations: 121.6 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3188, allocations: 0.6885 MB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.3188, allocations: 0 / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.3188, allocations: 11.44 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3188, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of Templates: time 0.002671/0.3215, allocations: 0.6764 MB / 1.025 GB, free: 3.219 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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