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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.419/3.419, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.928e-06/3.928e-06, allocations: 3.938 kB / 0.8777 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.256e-05/4.649e-05, allocations: 7.438 kB / 0.8777 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.003417/0.003464, allocations: 0.7018 MB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.005412, allocations: 0.8253 MB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.005464, allocations: 0 / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.005505, allocations: 7.375 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.005608, allocations: 13.02 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.682e-05/0.005695, allocations: 11.98 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.00583, allocations: 47.84 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.00595, allocations: 4 kB / 0.8792 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.006081, allocations: 23.97 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.006151, allocations: 15.92 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.006176, allocations: 4 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.006189, allocations: 8.531 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.006215, allocations: 7.984 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.006266, allocations: 17.27 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.006398, allocations: 39.92 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006401, allocations: 0 / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.006402, allocations: 1.531 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.006406, allocations: 0 / 0.8794 GB, free: 4.699 MB / 0.8386 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.0007795/0.007186, allocations: 295.4 kB / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.007231, allocations: 8.031 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.007287, allocations: 4.938 kB / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.007454, allocations: 109.8 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.007468, allocations: 4.375 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.007486, allocations: 4.375 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.007851, allocations: 70.2 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.00786, allocations: 192 / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.007876, allocations: 8.312 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007882, allocations: 384 / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.008349, allocations: 71.86 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.008841, allocations: 200.6 kB / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.009169, allocations: 54.48 kB / 0.8801 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.009423, allocations: 36.91 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.009445, allocations: 3.938 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.009499, allocations: 34.56 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.0095, allocations: 4 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000923/0.01042, allocations: 137.5 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.01049, allocations: 51.41 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01068, allocations: 113.8 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.01072, allocations: 25.7 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.01081, allocations: 84.14 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.01086, allocations: 19.84 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.01103, allocations: 13.72 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.01128, allocations: 318.8 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.01151, allocations: 31.91 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.01173, allocations: 35.95 kB / 0.881 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.0122, allocations: 65.08 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0122, allocations: 0 / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005432/0.01274, allocations: 101.6 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.01278, allocations: 11.94 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01279, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.01282, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.01302, allocations: 19.98 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01303, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01316, allocations: 11.92 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01318, allocations: 8 kB / 0.8812 GB, free: 2.605 MB / 0.8386 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 0.0001564/0.01333, allocations: 105.8 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.01339, allocations: 11.94 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.01343, allocations: 11.94 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01343, allocations: 0 / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.01345, allocations: 4 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01345, allocations: 4 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.01374, allocations: 109.3 kB / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01375, allocations: 0 / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.01389, allocations: 15.98 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.0139, allocations: 0 / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01391, allocations: 0 / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.01392, allocations: 7.875 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.01392, allocations: 7.984 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.01457, allocations: 195.4 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.01459, allocations: 7.953 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.01461, allocations: 0 / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.01479, allocations: 11.92 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.01487, allocations: 11.98 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.01488, allocations: 0 / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.979e-05/0.01498, allocations: 87.27 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01498, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004235/0.0154, allocations: 12 kB / 0.8818 GB, free: 1.957 MB / 0.8386 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.0002179/0.01562, allocations: 95.25 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.01613, allocations: 63.92 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01614, allocations: 0 / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.0164, allocations: 39.91 kB / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.01693, allocations: 14.48 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01744, allocations: 125.4 kB / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01755, allocations: 71.14 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.0176, allocations: 0 / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.01765, allocations: 12.5 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.01765, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of Templates: time 0.004988/0.02264, allocations: 0.7567 MB / 0.8829 GB, free: 0.75 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.49459147208836]