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.0007829/0.0007829, 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.0009512/0.0009512, allocations: 170.3 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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.825e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001189/0.001208, allocations: 0.6912 MB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.002167, allocations: 0.8276 MB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.002196, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.002221, allocations: 3.938 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.002276, allocations: 3.984 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.211e-05/0.002328, allocations: 15.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.002399, allocations: 39.86 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.002485, allocations: 15.92 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.002555, allocations: 35.84 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.002585, allocations: 11.98 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.002604, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.002609, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.002625, allocations: 11.92 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.002644, allocations: 8 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.002722, allocations: 47.8 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002725, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.002726, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.00273, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 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.0003409/0.003071, allocations: 286.3 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.003109, allocations: 12.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.003136, allocations: 34.73 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.003156, allocations: 8.891 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.00323, allocations: 113.7 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.00324, allocations: 8.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003247, allocations: 384 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.00341, allocations: 70.16 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003417, allocations: 4.188 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003427, allocations: 4.375 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003434, allocations: 4.125 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.003572, allocations: 63.92 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.003853, allocations: 224.1 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.003965, allocations: 58.48 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.004039, allocations: 40.91 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.00405, allocations: 7.938 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.004067, allocations: 30.56 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004069, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002896/0.004358, allocations: 129.5 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.004387, allocations: 51.41 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.004446, allocations: 113.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.004455, allocations: 25.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.004491, allocations: 88.12 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004506, allocations: 7.953 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.004531, allocations: 17.66 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.004601, allocations: 314.8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.004672, allocations: 35.95 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.004736, allocations: 39.91 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.004864, allocations: 64.78 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004865, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001552/0.00502, allocations: 105.5 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005032, allocations: 7.938 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005036, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005048, allocations: 0 / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.00512, allocations: 19.91 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.005124, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.005159, allocations: 15.98 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005165, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 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 5.015e-05/0.005215, allocations: 113.8 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.005232, allocations: 4.266 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.005251, allocations: 12 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.005255, allocations: 7.969 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.005258, allocations: 0 / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.00526, allocations: 0 / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005361, allocations: 136.6 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-07/0.005361, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.0054, allocations: 19.92 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005401, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.005407, allocations: 4 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.005408, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005409, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.005588, allocations: 195.4 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.005594, allocations: 3.938 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.005603, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.00565, allocations: 15.98 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.005684, allocations: 11.98 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.005687, allocations: 0 / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.005716, allocations: 83.28 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.005717, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001355/0.005852, allocations: 11.95 kB / 1.004 GB, free: 8.844 MB / 0.9636 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.0003679/0.00622, allocations: 0.728 MB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.006399, allocations: 71.86 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.0064, allocations: 0 / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.006469, allocations: 39.89 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.006704, allocations: 8 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.007039, allocations: 159.2 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.007083, allocations: 67.28 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.007107, allocations: 0 / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.007148, allocations: 12.5 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.007149, allocations: 3.938 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.02081, allocations: 2.34 MB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/6.499, allocations: 7.984 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 840.0] 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: 10.406370267271996]