Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001363/0.001363, allocations: 103.5 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.001392/0.001392, 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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 2.881/2.881, allocations: 497.2 MB / 0.7812 GB, free: 11.93 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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 1.134 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9579/0.96, allocations: 173.9 MB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002005/0.962, allocations: 0.7111 MB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.963, allocations: 0.8026 MB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.963, allocations: 0 / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.963, allocations: 1.281 kB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.9631, allocations: 9.828 kB / 1.306 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.719e-05/0.9632, allocations: 13.56 kB / 1.306 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.9632, allocations: 39.25 kB / 1.306 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.9633, allocations: 12.86 kB / 1.306 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.9634, allocations: 21.88 kB / 1.306 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.9635, allocations: 22.97 kB / 1.306 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.9635, allocations: 3.656 kB / 1.306 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.9635, allocations: 3.531 kB / 1.306 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.9635, allocations: 7.219 kB / 1.306 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.9635, allocations: 16.86 kB / 1.306 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.952e-05/0.9636, allocations: 38.39 kB / 1.306 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9636, allocations: 5.438 kB / 1.306 GB, free: 14.49 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9636, allocations: 0 / 1.306 GB, free: 14.49 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.9637, allocations: 0 / 1.306 GB, free: 14.49 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.0005561/0.9642, allocations: 372.5 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9642, allocations: 10.28 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.9643, allocations: 31.88 kB / 1.306 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.9643, allocations: 6.984 kB / 1.306 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9645, allocations: 171.8 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.9645, allocations: 6.234 kB / 1.306 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.9645, allocations: 2.656 kB / 1.306 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.9647, allocations: 75.64 kB / 1.306 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9647, allocations: 9.5 kB / 1.306 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.9647, allocations: 4.547 kB / 1.306 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.9647, allocations: 0 / 1.306 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.965, allocations: 66.34 kB / 1.306 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.9654, allocations: 266.3 kB / 1.307 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.9656, allocations: 53.8 kB / 1.307 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.9657, allocations: 40.34 kB / 1.307 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.9658, allocations: 3.984 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9658, allocations: 44.45 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9658, allocations: 0 / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005082/0.9663, allocations: 128.6 kB / 1.307 GB, free: 13.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9663, allocations: 52.69 kB / 1.307 GB, free: 13.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.9664, allocations: 111.1 kB / 1.307 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.9664, allocations: 25.7 kB / 1.307 GB, free: 13.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.9665, allocations: 91.92 kB / 1.307 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.9665, allocations: 5.75 kB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.9666, allocations: 16.59 kB / 1.307 GB, free: 13.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9667, allocations: 315.2 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.9668, allocations: 34.67 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.967, allocations: 30.91 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.9672, allocations: 74.7 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9672, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003075/0.9675, allocations: 101.5 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9676, allocations: 8.188 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.9676, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9676, allocations: 1.844 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.9677, allocations: 14.48 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9677, allocations: 1.031 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.9678, allocations: 12.41 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9678, allocations: 4 kB / 1.308 GB, free: 12.66 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.046e-05/0.9679, allocations: 120.8 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.9679, allocations: 2.594 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.9679, allocations: 13.55 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9679, allocations: 0 / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9679, allocations: 1.781 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.9679, allocations: 0 / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.9681, allocations: 167.3 kB / 1.308 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9681, allocations: 3.938 kB / 1.308 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.9682, allocations: 23.52 kB / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9682, allocations: 1.438 kB / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.9682, allocations: 0.6094 kB / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9682, allocations: 0 / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9682, allocations: 5.219 kB / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.9686, allocations: 197 kB / 1.308 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.9686, allocations: 78.94 kB / 1.308 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.9686, allocations: 5.625 kB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9688, allocations: 16.11 kB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.9688, allocations: 2.922 kB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.9688, allocations: 1.094 kB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.9688, allocations: 92.12 kB / 1.308 GB, free: 11.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9688, allocations: 0 / 1.308 GB, free: 11.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000223/0.9691, allocations: 14.2 kB / 1.308 GB, free: 11.96 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.0007093/0.9698, allocations: 0.7238 MB / 1.309 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.9701, allocations: 73.86 kB / 1.309 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9701, allocations: 3.938 kB / 1.309 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.9702, allocations: 34.19 kB / 1.309 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.9705, allocations: 9.141 kB / 1.309 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.971, allocations: 158.1 kB / 1.309 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.9713, allocations: 0.6794 MB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.9714, allocations: 5.688 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.9714, allocations: 19.47 kB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.9714, allocations: 0 / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.997, allocations: 1.639 MB / 1.312 GB, free: 9.992 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/9.022, allocations: 10.66 kB / 1.312 GB, free: 9.984 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.387867256999016]