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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001865/0.001865, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002183/0.002183, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.594/1.594, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 60.25 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001982/0.2711, allocations: 0.7002 MB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.272, allocations: 0.8157 MB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.2721, allocations: 4 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.2721, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.2722, allocations: 11.86 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.631e-05/0.2723, allocations: 7.984 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.2723, allocations: 47.86 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2725, allocations: 11.98 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.2725, allocations: 11.98 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2726, allocations: 19.92 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2726, allocations: 11.94 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.2726, allocations: 4 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.2727, allocations: 7.984 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2727, allocations: 15.94 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.2728, allocations: 47.8 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2728, allocations: 0 / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2728, allocations: 0 / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.2728, allocations: 0 / 1.02 GB, free: 8.883 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.0005218/0.2733, allocations: 367.6 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2734, allocations: 12.86 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2734, allocations: 4.938 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2736, allocations: 172.2 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2736, allocations: 4.375 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2736, allocations: 384 / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.2739, allocations: 70.2 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2739, allocations: 192 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2739, allocations: 11.94 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2739, allocations: 3.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2742, allocations: 63.92 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2746, allocations: 260.9 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2748, allocations: 62.47 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.275, allocations: 32.92 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.275, allocations: 3.984 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.275, allocations: 42.55 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.275, allocations: 4 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005682/0.2756, allocations: 129.4 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2757, allocations: 51.41 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.2758, allocations: 105.8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2758, allocations: 29.7 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2758, allocations: 92.12 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.2759, allocations: 7.812 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2759, allocations: 17.72 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.276, allocations: 310.8 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2762, allocations: 35.95 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2763, allocations: 31.97 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2766, allocations: 68.78 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2767, allocations: 3.938 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003437/0.277, allocations: 101.6 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.277, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.277, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2771, allocations: 3.938 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2772, allocations: 19.97 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2772, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.2773, allocations: 11.98 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2773, allocations: 4 kB / 1.022 GB, free: 6.555 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.44e-05/0.2774, allocations: 113.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2774, allocations: 7.906 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.2775, allocations: 7.906 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2775, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2775, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2775, allocations: 7.984 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2777, allocations: 165.6 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2777, allocations: 4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2778, allocations: 19.92 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2778, allocations: 4 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2778, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2779, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2779, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2782, allocations: 191.4 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.2783, allocations: 92.89 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2783, allocations: 4 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2784, allocations: 11.98 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.2785, allocations: 3.984 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2785, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.2785, allocations: 87.58 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2785, allocations: 0 / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002265/0.2788, allocations: 8 kB / 1.022 GB, free: 5.734 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.0001274/0.2789, allocations: 103.2 kB / 1.022 GB, free: 5.621 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.2793, allocations: 72.23 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2793, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2795, allocations: 36.06 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2798, allocations: 15.92 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2802, allocations: 151.4 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2805, allocations: 0.6807 MB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.2805, allocations: 15.38 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.2805, allocations: 3.938 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of Templates: time 0.0023/0.2828, allocations: 0.7395 MB / 1.024 GB, free: 3.863 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 -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