Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.00134/0.00134, 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.001497/0.001497, allocations: 215.1 kB / 23.03 MB, free: 4.926 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.942/2.942, allocations: 476.8 MB / 0.7715 GB, free: 3.875 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.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.002054/0.002054, allocations: 66.17 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3921, allocations: 170 MB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002224/0.3944, allocations: 0.8404 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.396, allocations: 1.196 MB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.3961, allocations: 4 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.3961, allocations: 7.875 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.3962, allocations: 23.8 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.3967, allocations: 150 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.397, allocations: 167.6 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3971, allocations: 32.53 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3972, allocations: 71.83 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3973, allocations: 67.8 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.3974, allocations: 15.98 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.3975, allocations: 27.94 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.3975, allocations: 27.91 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.3976, allocations: 51.84 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3978, allocations: 171.3 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3978, allocations: 4 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3978, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3978, allocations: 0 / 1.287 GB, free: 7.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007795/0.3986, allocations: 422 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3986, allocations: 8.031 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.41e-05/0.3987, allocations: 4.188 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3987, allocations: 38.73 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.3988, allocations: 12.89 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.3993, allocations: 194.4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3993, allocations: 12.36 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.3994, allocations: 16.38 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3996, allocations: 97.7 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3996, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3997, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3997, allocations: 7.938 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.3998, allocations: 43.95 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.4006, allocations: 335.6 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4007, allocations: 34.56 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4008, allocations: 28.95 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4009, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.4012, allocations: 99.3 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4012, allocations: 3.938 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004765/0.4016, allocations: 141.5 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4017, allocations: 51.41 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4018, allocations: 143.5 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4019, allocations: 33.7 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.402, allocations: 116 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.402, allocations: 31.88 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.4021, allocations: 45.7 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4023, allocations: 322.8 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.4025, allocations: 81.66 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.4027, allocations: 167.2 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.4031, allocations: 196.7 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4031, allocations: 3.938 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005481/0.4036, allocations: 272.9 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.4037, allocations: 37.69 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4037, allocations: 4 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4037, allocations: 7.938 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.4038, allocations: 27.92 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4038, allocations: 4 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.4041, allocations: 44.05 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4041, allocations: 19.98 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001342/0.4042, allocations: 134 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4043, allocations: 7.953 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.4043, allocations: 16.72 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4043, allocations: 3.938 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4043, allocations: 3.938 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4043, allocations: 0 / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.4049, allocations: 365.5 kB / 1.29 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4049, allocations: 7.938 kB / 1.29 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.405, allocations: 11.98 kB / 1.29 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.405, allocations: 0 / 1.29 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.405, allocations: 11.98 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.405, allocations: 0 / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.405, allocations: 0 / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.4055, allocations: 231.4 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.4055, allocations: 23.78 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4055, allocations: 11.97 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.4056, allocations: 7.938 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.4056, allocations: 7.984 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4056, allocations: 11.98 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.4057, allocations: 105.3 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4057, allocations: 0 / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003182/0.406, allocations: 24 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008403/0.4069, allocations: 0.7868 MB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.4073, allocations: 196.8 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4073, allocations: 0 / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.4074, allocations: 36.66 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.4078, allocations: 27.98 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.4105, allocations: 2.088 MB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.4106, allocations: 89.62 kB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.747e-05/0.4107, allocations: 16.64 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4107, allocations: 39.36 kB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4107, allocations: 0 / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.436, allocations: 3.471 MB / 1.297 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.12, allocations: 6.859 kB / 1.297 GB, free: 12.47 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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: 19.097626633942127]