Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001811/0.001811, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.00265/0.00265, allocations: 218.8 kB / 23.03 MB, free: 4.922 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 65.44 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 169.9 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002924/0.3262, allocations: 0.7002 MB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3275, allocations: 0.8239 MB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.3275, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.3276, allocations: 3.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.3276, allocations: 15.88 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.268e-05/0.3277, allocations: 7.984 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3278, allocations: 47.84 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3279, allocations: 15.22 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.328, allocations: 23.92 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.3281, allocations: 15.92 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3281, allocations: 4 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.3281, allocations: 4 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.3281, allocations: 4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.3282, allocations: 19.92 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3283, allocations: 47.78 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3283, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3283, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3283, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 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.0006668/0.329, allocations: 290.2 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.3291, allocations: 15.95 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.3291, allocations: 192 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.3291, allocations: 34.75 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.3292, allocations: 8.891 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3293, allocations: 110.5 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3293, allocations: 384 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3294, allocations: 4.375 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3297, allocations: 73.97 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3297, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3297, allocations: 3.938 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3297, allocations: 3.984 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.33, allocations: 63.88 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3306, allocations: 236 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3308, allocations: 50.55 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.331, allocations: 40.91 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.331, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3311, allocations: 30.56 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005883/0.3316, allocations: 145.6 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3317, allocations: 55.41 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3318, allocations: 105.8 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3318, allocations: 25.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.3319, allocations: 88.14 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3319, allocations: 7.891 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.3319, allocations: 17.72 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3321, allocations: 322.8 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3322, allocations: 27.97 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3324, allocations: 35.95 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.3326, allocations: 68.73 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3326, allocations: 7.938 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003121/0.3329, allocations: 101.6 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3329, allocations: 4 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.333, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.333, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3331, allocations: 15.98 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3331, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.3332, allocations: 19.98 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.3332, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 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.54e-05/0.3333, allocations: 113.8 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.3333, allocations: 4 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.3333, allocations: 11.98 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3334, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3334, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3334, allocations: 7.938 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3335, allocations: 136.6 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3335, allocations: 4 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.3336, allocations: 11.98 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3336, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3336, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3336, allocations: 7.984 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3336, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.334, allocations: 195.4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.334, allocations: 8 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.334, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3341, allocations: 7.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.3342, allocations: 11.98 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3342, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.3342, allocations: 91.27 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3342, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002166/0.3345, allocations: 11.89 kB / 1.288 GB, free: 6.062 MB / 0.9825 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.0007471/0.3352, allocations: 0.728 MB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3355, allocations: 63.92 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3355, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3357, allocations: 40.23 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3361, allocations: 7.938 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.3366, allocations: 159.2 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.053e-05/0.3367, allocations: 67.38 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3367, allocations: 3.984 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.3368, allocations: 19.42 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3368, allocations: 4 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3596, allocations: 1.827 MB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 12 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.815487049054354]