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.001861/0.001861, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001969/0.001969, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.14 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.827, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001965/0.829, allocations: 0.7045 MB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.83, allocations: 0.804 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.8301, allocations: 4 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.8301, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.8302, allocations: 7.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.963e-05/0.8303, allocations: 7.984 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.8304, allocations: 51.89 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.8305, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.8306, allocations: 19.92 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.8306, allocations: 23.91 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.8307, allocations: 4 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.8307, allocations: 8 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.8307, allocations: 7.938 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.8307, allocations: 19.92 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.8309, allocations: 47.8 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8309, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8309, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8309, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 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.0005234/0.8314, allocations: 363.2 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8315, allocations: 12.92 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.8315, allocations: 8.844 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.8317, allocations: 166.2 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8317, allocations: 8.375 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.8317, allocations: 384 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.832, allocations: 66.22 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.832, allocations: 192 / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.832, allocations: 11.88 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.832, allocations: 0 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.8323, allocations: 71.86 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.8327, allocations: 260.9 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.8329, allocations: 66.47 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.833, allocations: 35.36 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.8331, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.8331, allocations: 38.5 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.8331, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005033/0.8336, allocations: 137.6 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.8336, allocations: 51.41 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.8337, allocations: 105.8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.8338, allocations: 25.7 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.8338, allocations: 92.05 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.8338, allocations: 7.844 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.8339, allocations: 21.72 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.834, allocations: 314.8 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.8341, allocations: 31.97 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.8343, allocations: 31.95 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.8345, allocations: 76.77 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8345, allocations: 3.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002793/0.8348, allocations: 93.62 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.8349, allocations: 6.344 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.8349, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8349, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.835, allocations: 19.98 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.835, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.8351, allocations: 11.98 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.8351, allocations: 3.938 kB / 1.171 GB, free: 15.81 MB / 0.9044 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.078e-05/0.8352, allocations: 117.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.8352, allocations: 11.84 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.8353, allocations: 7.906 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8353, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8353, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.8353, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.8354, allocations: 169.6 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8355, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.8356, allocations: 23.97 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8356, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8356, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8356, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8356, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.8359, allocations: 195.4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.836, allocations: 85 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.836, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8361, allocations: 15.98 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.8362, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.8362, allocations: 7.938 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.8362, allocations: 87.27 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8362, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002152/0.8365, allocations: 8 kB / 1.172 GB, free: 14.98 MB / 0.9044 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.0001247/0.8366, allocations: 95.25 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.8369, allocations: 72.25 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8369, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.8371, allocations: 35.95 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.8374, allocations: 11.94 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.8377, allocations: 167.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.838, allocations: 0.6807 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.8381, allocations: 7.438 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8381, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.002116/0.8402, allocations: 0.7408 MB / 1.174 GB, free: 13.12 MB / 0.9044 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