Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001934/0.001934, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.753/2.753, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 77.73 kB / 0.9509 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3336, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002113/0.3358, allocations: 0.6903 MB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.337, allocations: 0.8121 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.337, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.3371, allocations: 7.938 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.3372, allocations: 7.875 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.41e-05/0.3373, allocations: 11.98 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3374, allocations: 51.83 kB / 1.09 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3375, allocations: 8 kB / 1.09 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.3376, allocations: 15.92 kB / 1.09 GB, free: 0 / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.3377, allocations: 27.98 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3377, allocations: 4 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3377, allocations: 8 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.3378, allocations: 7.984 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3378, allocations: 11.94 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.338, allocations: 51.78 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.338, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.338, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.338, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 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.0006388/0.3386, allocations: 355.3 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3387, allocations: 12.03 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3387, allocations: 12.84 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3389, allocations: 168.3 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3389, allocations: 4.375 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.339, allocations: 384 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.3393, allocations: 70.16 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3393, allocations: 192 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3393, allocations: 7.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3396, allocations: 67.92 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.34, allocations: 264.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3402, allocations: 62.48 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3404, allocations: 40.84 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3404, allocations: 3.984 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3404, allocations: 34.56 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3404, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000616/0.3411, allocations: 125.6 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3411, allocations: 55.39 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3412, allocations: 113.8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3413, allocations: 29.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3413, allocations: 80.14 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.3414, allocations: 11.81 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.3414, allocations: 17.72 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3416, allocations: 318.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3418, allocations: 35.91 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3421, allocations: 35.89 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.3424, allocations: 68.8 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3425, allocations: 7.875 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004542/0.3429, allocations: 93.62 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.343, allocations: 7.984 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.343, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.343, allocations: 4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3432, allocations: 15.98 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.3432, allocations: 3.938 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3433, allocations: 11.98 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3434, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 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.595e-05/0.3434, allocations: 113.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3435, allocations: 7.906 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.3435, allocations: 7.891 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3435, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3435, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3435, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3437, allocations: 169.5 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3437, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.989e-05/0.3438, allocations: 15.97 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3439, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3439, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3439, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3439, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3443, allocations: 199.4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.3443, allocations: 81.02 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3444, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3445, allocations: 19.97 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.3445, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3445, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.3446, allocations: 87.25 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002162/0.3448, allocations: 12 kB / 1.092 GB, free: 12.74 MB / 0.8575 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.0001476/0.345, allocations: 100.2 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3453, allocations: 67.92 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3453, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3455, allocations: 43.92 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3458, allocations: 12.03 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3461, allocations: 133.6 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3465, allocations: 0.6807 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.3465, allocations: 7.922 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3465, allocations: 11.44 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3466, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.002956/0.3495, allocations: 0.6989 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches