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.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.001419/0.001419, allocations: 104.6 kB / 16.45 MB, free: 6.504 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.001301/0.001301, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.247/3.247, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.00191/0.00191, allocations: 72.55 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3481, allocations: 173.9 MB / 1.304 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002122/0.3502, allocations: 0.7061 MB / 1.305 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3512, allocations: 0.8043 MB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3513, allocations: 0 / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.3513, allocations: 3.938 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.3514, allocations: 11.92 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.138e-05/0.3514, allocations: 11.98 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.3515, allocations: 43.84 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3517, allocations: 11.98 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3517, allocations: 15.92 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.3518, allocations: 27.92 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3518, allocations: 4 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.3518, allocations: 4 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3518, allocations: 11.92 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.3519, allocations: 11.94 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.352, allocations: 48.06 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.352, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.352, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.352, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 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.0005922/0.3526, allocations: 363.4 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3526, allocations: 8.625 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3527, allocations: 34.75 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3527, allocations: 4.891 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3529, allocations: 180.2 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3529, allocations: 4.375 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3529, allocations: 4.312 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3532, allocations: 70.22 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3532, allocations: 3.938 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3532, allocations: 4 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3532, allocations: 0 / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3535, allocations: 63.92 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3538, allocations: 268.9 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.354, allocations: 62.42 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3542, allocations: 36.91 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3542, allocations: 0 / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3542, allocations: 34.56 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3542, allocations: 4 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000532/0.3548, allocations: 133.5 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3548, allocations: 51.41 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.3549, allocations: 109.8 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3549, allocations: 33.7 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.355, allocations: 80.14 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.355, allocations: 7.953 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.355, allocations: 13.72 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3552, allocations: 318.8 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3553, allocations: 31.97 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3555, allocations: 35.95 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3557, allocations: 68.73 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3557, allocations: 0 / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.356, allocations: 109.5 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.356, allocations: 4 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.356, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3561, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3562, allocations: 15.98 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3562, allocations: 0 / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.3563, allocations: 11.98 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3563, allocations: 0 / 1.308 GB, free: 13.38 MB / 1.014 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.541e-05/0.3564, allocations: 125.8 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3564, allocations: 4 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.3564, allocations: 4.234 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3564, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3564, allocations: 3.938 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3564, allocations: 7.984 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3566, allocations: 173.5 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3566, allocations: 4 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.3567, allocations: 15.97 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3567, allocations: 4 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3567, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3567, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3567, allocations: 4 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.3571, allocations: 199.3 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.3571, allocations: 85.09 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3571, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.3572, allocations: 11.98 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3573, allocations: 7.938 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3573, allocations: 4 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.3573, allocations: 87.27 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3573, allocations: 0 / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002146/0.3576, allocations: 8 kB / 1.308 GB, free: 12.54 MB / 1.014 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.0007257/0.3583, allocations: 0.7357 MB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.3586, allocations: 67.92 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3586, allocations: 0 / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3587, allocations: 31.97 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3591, allocations: 13.7 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.3596, allocations: 163 kB / 1.309 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3599, allocations: 0.6768 MB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.36, allocations: 7.984 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.36, allocations: 11.44 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.36, allocations: 0 / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.384, allocations: 1.642 MB / 1.312 GB, free: 9.203 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.353, allocations: 4.766 kB / 1.312 GB, free: 9.203 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.169312052894384]