Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007717/0.0007717, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001024/0.001024, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9012/0.9012, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.682/1.682, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.532e-05, allocations: 5.234 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001538/0.001564, allocations: 0.7066 MB / 0.9817 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000925/0.002489, allocations: 0.816 MB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.00253, allocations: 0 / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.002569, allocations: 11.92 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.002642, allocations: 11.88 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.261e-05/0.002715, allocations: 7.984 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.002814, allocations: 47.86 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.002943, allocations: 7.969 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.003033, allocations: 19.98 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.003079, allocations: 23.92 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.003106, allocations: 4 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.003113, allocations: 4 kB / 0.9827 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.003132, allocations: 7.984 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.003159, allocations: 11.94 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003261, allocations: 47.84 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003263, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.684e-06/0.003265, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.00327, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 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.003728, allocations: 286.3 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.003776, allocations: 11.97 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.003809, allocations: 38.73 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.003837, allocations: 4.891 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.003914, allocations: 109.7 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.003926, allocations: 4.375 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.003934, allocations: 4.375 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.004106, allocations: 70.22 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004113, allocations: 192 / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.004122, allocations: 4.375 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.004129, allocations: 8.125 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.00427, allocations: 59.92 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.004591, allocations: 236 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.004715, allocations: 54.48 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.004804, allocations: 44.91 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.004817, allocations: 3.938 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.004843, allocations: 34.56 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.004844, allocations: 0 / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000343/0.005187, allocations: 133.5 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.005224, allocations: 55.39 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.005306, allocations: 105.8 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.005318, allocations: 25.7 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.005371, allocations: 96.08 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.005396, allocations: 3.953 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.005438, allocations: 17.72 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.005556, allocations: 314.8 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.005655, allocations: 31.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.005724, allocations: 31.97 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.005867, allocations: 68.78 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.005869, allocations: 3.938 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001796/0.006049, allocations: 101.6 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.006066, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006071, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.006087, allocations: 3.984 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.00618, allocations: 19.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.006187, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.006226, allocations: 15.94 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.006232, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 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.679e-05/0.006299, allocations: 113.8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006312, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.006332, allocations: 11.98 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006335, allocations: 4 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.006339, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.006342, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.006449, allocations: 132.7 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006451, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.006496, allocations: 23.86 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006497, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006504, allocations: 4 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006505, allocations: 3.938 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.006506, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.006711, allocations: 191.4 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.006723, allocations: 11.94 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006733, allocations: 0 / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.006783, allocations: 15.98 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.006824, allocations: 7.984 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006827, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.013e-05/0.006868, allocations: 95.25 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006868, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001441/0.007012, allocations: 8 kB / 0.9852 GB, free: 13.94 MB / 0.948 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.000452/0.007464, allocations: 0.7322 MB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.007667, allocations: 67.95 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.007669, allocations: 7.938 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.007741, allocations: 39.89 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.007994, allocations: 3.203 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.008351, allocations: 154.4 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.008398, allocations: 71.28 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.008421, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.008462, allocations: 16.48 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.008462, allocations: 0 / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.02635, allocations: 2.317 MB / 0.9886 GB, free: 10.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/6.846, allocations: 9.219 kB / 0.9886 GB, free: 10.58 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.822214256972075]