Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.001703/0.001703, allocations: 109.2 kB / 16.46 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.001983/0.001983, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 69.62 kB / 1.104 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.388, allocations: 168.7 MB / 1.269 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003234/0.3912, allocations: 1.812 MB / 1.271 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3924, allocations: 0.5466 MB / 1.271 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.3924, allocations: 7.938 kB / 1.271 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.3926, allocations: 23.72 kB / 1.271 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.3927, allocations: 31.73 kB / 1.271 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.3929, allocations: 63.86 kB / 1.271 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3931, allocations: 175.4 kB / 1.271 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3933, allocations: 37.94 kB / 1.271 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.3934, allocations: 51.73 kB / 1.271 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.3935, allocations: 67.61 kB / 1.271 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3935, allocations: 12 kB / 1.272 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.3935, allocations: 8 kB / 1.272 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.3936, allocations: 27.92 kB / 1.272 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.3936, allocations: 67.55 kB / 1.272 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3938, allocations: 135.3 kB / 1.272 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3938, allocations: 0 / 1.272 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3938, allocations: 0 / 1.272 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3939, allocations: 4 kB / 1.272 GB, free: 9.734 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008051/0.3947, allocations: 478.5 kB / 1.272 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3947, allocations: 12.03 kB / 1.272 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.3948, allocations: 42.73 kB / 1.272 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.3948, allocations: 20.84 kB / 1.272 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.3952, allocations: 244.5 kB / 1.273 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3952, allocations: 4.375 kB / 1.273 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3952, allocations: 16.33 kB / 1.273 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3955, allocations: 155 kB / 1.273 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3955, allocations: 0 / 1.273 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3955, allocations: 4 kB / 1.273 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3955, allocations: 4 kB / 1.273 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.3958, allocations: 71.88 kB / 1.273 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.3968, allocations: 0.7317 MB / 1.273 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3969, allocations: 54.48 kB / 1.274 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.397, allocations: 32.83 kB / 1.274 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.397, allocations: 4 kB / 1.274 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.3973, allocations: 126.6 kB / 1.274 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.3973, allocations: 4 kB / 1.274 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005067/0.3978, allocations: 165.4 kB / 1.274 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3979, allocations: 136.5 kB / 1.274 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3982, allocations: 203 kB / 1.274 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3982, allocations: 25.7 kB / 1.274 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3983, allocations: 140.3 kB / 1.274 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3983, allocations: 35.72 kB / 1.274 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.3984, allocations: 45.59 kB / 1.274 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3986, allocations: 330.8 kB / 1.275 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3987, allocations: 35.97 kB / 1.275 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3989, allocations: 157.2 kB / 1.275 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.3993, allocations: 202.3 kB / 1.275 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3993, allocations: 0 / 1.275 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004005/0.3997, allocations: 201.2 kB / 1.275 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3997, allocations: 6.688 kB / 1.275 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3997, allocations: 12.22 kB / 1.275 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3997, allocations: 8 kB / 1.275 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3999, allocations: 35.92 kB / 1.275 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.3999, allocations: 11.92 kB / 1.275 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4, allocations: 23.88 kB / 1.275 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.4, allocations: 15.98 kB / 1.275 GB, free: 5.602 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001451/0.4002, allocations: 141.6 kB / 1.276 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4002, allocations: 19.86 kB / 1.276 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.4003, allocations: 21.41 kB / 1.276 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4003, allocations: 4 kB / 1.276 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4003, allocations: 3.984 kB / 1.276 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4003, allocations: 0 / 1.276 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.4011, allocations: 0.5094 MB / 1.276 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4011, allocations: 7.938 kB / 1.276 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4012, allocations: 19.92 kB / 1.276 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4012, allocations: 0 / 1.276 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4012, allocations: 8 kB / 1.276 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4012, allocations: 3.938 kB / 1.276 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4012, allocations: 0 / 1.276 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.4018, allocations: 360.6 kB / 1.276 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.4019, allocations: 89.02 kB / 1.277 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.4019, allocations: 12 kB / 1.277 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4021, allocations: 15.95 kB / 1.277 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.4021, allocations: 15.98 kB / 1.277 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4022, allocations: 8 kB / 1.277 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001376/0.4023, allocations: 140.4 kB / 1.277 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 1.277 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003296/0.4026, allocations: 31.95 kB / 1.277 GB, free: 4.094 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0009434/0.4036, allocations: 0.8929 MB / 1.278 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.4039, allocations: 120.4 kB / 1.278 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4039, allocations: 0 / 1.278 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.404, allocations: 47.91 kB / 1.278 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.4046, allocations: 58.12 kB / 1.278 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.4077, allocations: 2.289 MB / 1.28 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4081, allocations: 0.7203 MB / 1.281 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.4082, allocations: 21.53 kB / 1.281 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.4083, allocations: 51.42 kB / 1.281 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.4083, allocations: 0 / 1.281 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4395, allocations: 4.07 MB / 1.285 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.772, allocations: 0.9375 kB / 1.285 GB, free: 11.71 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegratorWithReset.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.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: 15.199448583647609]