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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00141/0.00141, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001378/0.001378, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.5 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.22 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00182/0.3136, allocations: 0.7222 MB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.3144, allocations: 0.8064 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.3144, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.3145, allocations: 3.938 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.3145, allocations: 3.938 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.248e-05/0.3146, allocations: 15.98 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.3147, allocations: 43.84 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3148, allocations: 12 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.3149, allocations: 23.91 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.3149, allocations: 19.92 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3149, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.3149, allocations: 4 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.315, allocations: 7.984 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.315, allocations: 23.8 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.311e-05/0.3151, allocations: 35.88 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3151, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3151, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3151, allocations: 4 kB / 1.028 GB, free: 308 kB / 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.0004577/0.3156, allocations: 359.4 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3156, allocations: 12.03 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.3156, allocations: 4.844 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.3157, allocations: 176.3 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3157, allocations: 384 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3158, allocations: 384 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.316, allocations: 74.22 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.316, allocations: 192 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.316, allocations: 3.938 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-06/0.316, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.3163, allocations: 67.86 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.3166, allocations: 272.9 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3168, allocations: 50.48 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3169, allocations: 44.91 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3169, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3169, allocations: 38.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.317, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004493/0.3174, allocations: 125.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.3174, allocations: 51.41 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.3175, allocations: 113.8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3175, allocations: 25.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3176, allocations: 84.14 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3176, allocations: 15.75 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3176, allocations: 13.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.3177, allocations: 322.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3179, allocations: 31.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.318, allocations: 35.89 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3182, allocations: 64.8 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3182, allocations: 3.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002785/0.3185, allocations: 101.9 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3186, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3186, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3186, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3187, allocations: 12.03 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.3187, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.3188, allocations: 19.97 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.3188, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 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.709e-05/0.3189, allocations: 121.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3189, allocations: 7.891 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.3189, allocations: 11.91 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3189, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3189, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3189, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3191, allocations: 169.6 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3191, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.3192, allocations: 19.97 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3192, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3192, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3192, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3192, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3195, allocations: 195.4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.3196, allocations: 84.95 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3196, allocations: 7.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.3197, allocations: 7.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3197, allocations: 7.938 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3197, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.3198, allocations: 95.56 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3198, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002111/0.32, allocations: 11.94 kB / 1.031 GB, free: 13.15 MB / 0.8106 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.0001084/0.3201, allocations: 99.25 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3204, allocations: 67.92 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3204, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3206, allocations: 43.95 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3209, allocations: 11.88 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.3211, allocations: 129.4 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.3213, allocations: 0.6807 MB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.3214, allocations: 3.984 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.3214, allocations: 15.44 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3214, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.002429/0.3238, allocations: 0.671 MB / 1.033 GB, free: 11.37 MB / 0.8106 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 -s gbode -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