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.001744/0.001744, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002309/0.002309, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8 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.794/2.794, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.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.002056/0.002056, allocations: 64.56 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 169.9 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002509/0.3803, allocations: 0.901 MB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3822, allocations: 1.215 MB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.3823, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.3823, allocations: 7.875 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3824, allocations: 23.8 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.3831, allocations: 150.2 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3833, allocations: 167.6 kB / 1.287 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3835, allocations: 29.3 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3836, allocations: 67.83 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3838, allocations: 67.72 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.3838, allocations: 16 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.3839, allocations: 35.92 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3839, allocations: 23.92 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.384, allocations: 71.7 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3843, allocations: 167.7 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3843, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3843, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3843, allocations: 0 / 1.287 GB, free: 8.773 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.0008414/0.3852, allocations: 416.1 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3852, allocations: 8.031 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.3852, allocations: 4.188 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.3853, allocations: 42.73 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.3853, allocations: 12.89 kB / 1.288 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.3859, allocations: 198.3 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3859, allocations: 8.375 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.386, allocations: 12.38 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3862, allocations: 97.75 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3862, allocations: 4 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3863, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3863, allocations: 4 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.3865, allocations: 47.89 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008065/0.3873, allocations: 351.6 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3874, allocations: 46.48 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.3875, allocations: 24.78 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3875, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.3879, allocations: 99.41 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3879, allocations: 4 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004827/0.3884, allocations: 137.5 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3884, allocations: 59.39 kB / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3886, allocations: 147.6 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.3886, allocations: 33.7 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.3887, allocations: 112.1 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3887, allocations: 23.81 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.3888, allocations: 49.69 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.389, allocations: 330.8 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3892, allocations: 43.97 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3894, allocations: 131.1 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.3898, allocations: 200.6 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3898, allocations: 4 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005316/0.3903, allocations: 235 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.3904, allocations: 36.42 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3904, allocations: 8 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.3904, allocations: 11.92 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3906, allocations: 35.92 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.3906, allocations: 4 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3908, allocations: 35.86 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3908, allocations: 19.98 kB / 1.29 GB, free: 5.492 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.000154/0.391, allocations: 132.4 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.391, allocations: 7.953 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.3911, allocations: 20.7 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.3911, allocations: 3.938 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3911, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3911, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.3918, allocations: 369.8 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3918, allocations: 11.88 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.3919, allocations: 15.98 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3919, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3919, allocations: 3.984 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3919, allocations: 4 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3919, allocations: 3.938 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.3924, allocations: 242.8 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.3924, allocations: 15.88 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3924, allocations: 4 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.3925, allocations: 8 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3925, allocations: 3.984 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3926, allocations: 7.984 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.3926, allocations: 105.7 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3926, allocations: 0 / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002939/0.3929, allocations: 31.94 kB / 1.291 GB, free: 4.453 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.0009593/0.3939, allocations: 0.7826 MB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.3943, allocations: 171.4 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.3943, allocations: 4 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3944, allocations: 36.19 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3948, allocations: 24.86 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.3977, allocations: 1.959 MB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3981, allocations: 0.7122 MB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.65e-05/0.3982, allocations: 20.62 kB / 1.295 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.3983, allocations: 39.42 kB / 1.295 GB, free: 492 kB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3983, allocations: 0 / 1.295 GB, free: 492 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.4269, allocations: 3.362 MB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.88, allocations: 8.859 kB / 1.298 GB, free: 13.27 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.619530825002585]