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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 103.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.5 MB / 0.7287 GB, free: 14.71 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.89 kB / 1.056 GB, free: 2.551 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3106, allocations: 160.7 MB / 1.213 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001957/0.3125, allocations: 0.6984 MB / 1.214 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.3135, allocations: 0.8157 MB / 1.214 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.3135, allocations: 0 / 1.214 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.3136, allocations: 3.938 kB / 1.214 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.3136, allocations: 3.938 kB / 1.214 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.575e-05/0.3137, allocations: 15.98 kB / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.3138, allocations: 43.84 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.3138, allocations: 12 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.3139, allocations: 15.92 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.314, allocations: 27.91 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.314, allocations: 4 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.314, allocations: 4 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.314, allocations: 11.98 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.314, allocations: 15.88 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/0.3141, allocations: 40.08 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.3141, allocations: 4 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3141, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3141, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9669 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.0005961/0.3147, allocations: 367.3 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3148, allocations: 8.031 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.3148, allocations: 30.75 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.3148, allocations: 8.891 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.315, allocations: 176.2 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.315, allocations: 384 / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.315, allocations: 384 / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3152, allocations: 74.22 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3152, allocations: 7.875 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3152, allocations: 7.938 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3152, allocations: 0 / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3155, allocations: 63.92 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.3159, allocations: 276.8 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3161, allocations: 58.64 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3162, allocations: 36.81 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.3162, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3163, allocations: 30.56 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.3163, allocations: 4 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004988/0.3168, allocations: 133.5 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3168, allocations: 51.41 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.3169, allocations: 105.8 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3169, allocations: 25.7 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.317, allocations: 92.14 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.317, allocations: 11.91 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.3171, allocations: 13.72 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3172, allocations: 318.8 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3173, allocations: 23.97 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3175, allocations: 35.95 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3177, allocations: 68.73 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3177, allocations: 4 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003018/0.318, allocations: 101.5 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.318, allocations: 12 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.318, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3181, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3182, allocations: 16.31 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3182, allocations: 0 / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.3183, allocations: 7.984 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3183, allocations: 4 kB / 1.217 GB, free: 13.42 MB / 0.9669 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 9.469e-05/0.3184, allocations: 113.8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.3184, allocations: 15.95 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.3184, allocations: 7.891 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3184, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3186, allocations: 169.6 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3186, allocations: 3.938 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.685e-05/0.3187, allocations: 19.97 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3187, allocations: 0 / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3187, allocations: 3.938 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3187, allocations: 4 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3187, allocations: 3.938 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3191, allocations: 199.4 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.3191, allocations: 85.03 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3192, allocations: 8 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3193, allocations: 11.98 kB / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3193, allocations: 0 / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3193, allocations: 0 / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.3194, allocations: 91.27 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3194, allocations: 0 / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002161/0.3196, allocations: 8 kB / 1.217 GB, free: 12.59 MB / 0.9669 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.000715/0.3203, allocations: 0.7357 MB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3206, allocations: 71.92 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3206, allocations: 0 / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3208, allocations: 35.91 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3211, allocations: 10.02 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3215, allocations: 157.3 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3219, allocations: 0.6846 MB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.3219, allocations: 4 kB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3219, allocations: 11.44 kB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3219, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3455, allocations: 1.641 MB / 1.221 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.536, allocations: 4.703 kB / 1.221 GB, free: 9.242 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.444191236048937]