Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001778/0.001778, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002231/0.002231, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.781 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.8/2.8, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] 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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",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.002204/0.002204, allocations: 64.2 kB / 1.117 GB, free: 41.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3931, allocations: 169.9 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002028/0.3951, allocations: 0.7006 MB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3963, allocations: 0.8277 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.3963, allocations: 0 / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.3964, allocations: 11.88 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.3964, allocations: 7.922 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.739e-05/0.3965, allocations: 15.98 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.3966, allocations: 39.91 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3967, allocations: 11.52 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.3967, allocations: 15.92 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.3968, allocations: 19.92 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3968, allocations: 0 / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.3968, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3968, allocations: 11.98 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3969, allocations: 23.88 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.397, allocations: 43.8 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.397, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.397, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.397, allocations: 0 / 1.284 GB, free: 10.81 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.0005269/0.3975, allocations: 286.2 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3975, allocations: 8.031 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.3976, allocations: 38.75 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.3976, allocations: 4.891 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3977, allocations: 118.4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.3977, allocations: 384 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3977, allocations: 8.359 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.398, allocations: 70.2 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.398, allocations: 7.875 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.398, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.398, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.3983, allocations: 67.88 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.3986, allocations: 232 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3988, allocations: 50.55 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.399, allocations: 40.91 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.399, allocations: 7.938 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.399, allocations: 38.56 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.399, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005332/0.3995, allocations: 129.5 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3996, allocations: 51.41 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.3997, allocations: 109.8 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3997, allocations: 25.7 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3997, allocations: 88.14 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.3998, allocations: 7.953 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.3998, allocations: 17.7 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3999, allocations: 314.8 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4001, allocations: 35.91 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4002, allocations: 39.89 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.4005, allocations: 72.72 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4005, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003168/0.4008, allocations: 97.58 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4008, allocations: 4 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4008, allocations: 4 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4008, allocations: 4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.401, allocations: 11.98 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.401, allocations: 0 / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.401, allocations: 11.98 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4011, allocations: 7.938 kB / 1.286 GB, free: 8.648 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 8.657e-05/0.4011, allocations: 117.8 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.4012, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.4012, allocations: 12 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4012, allocations: 0 / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4012, allocations: 4 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4012, allocations: 336 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4014, allocations: 140.6 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4014, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.45e-05/0.4015, allocations: 19.97 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4015, allocations: 3.984 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4015, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4015, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4015, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.4018, allocations: 199.4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.4018, allocations: 7.875 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4019, allocations: 7.922 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.402, allocations: 11.98 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.402, allocations: 8 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.402, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.4021, allocations: 87.58 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4021, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002107/0.4023, allocations: 15.95 kB / 1.287 GB, free: 7.953 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.0006681/0.4029, allocations: 0.7202 MB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.4033, allocations: 75.86 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4033, allocations: 0 / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4034, allocations: 35.91 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.4037, allocations: 8.219 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.4042, allocations: 147.2 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.4042, allocations: 63.34 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.4043, allocations: 11.98 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.4043, allocations: 11.44 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4043, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.4322, allocations: 2.184 MB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 8.688 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.537990127690136]