Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001129/0.001129, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002739, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.001041/0.001041, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002341, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9589/0.9589, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1496/1.109, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.456/2.456, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3739/2.83, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.479e-05/4.748e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.003364/0.003411, allocations: 0.7985 MB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005419, allocations: 1.123 MB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.005495, allocations: 0 / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.005537, allocations: 7.875 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.005627, allocations: 15.84 kB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.006036, allocations: 59.7 kB / 0.8203 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.006205, allocations: 71.78 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.006352, allocations: 12.17 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.006549, allocations: 51.83 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.006638, allocations: 27.95 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.006674, allocations: 11.94 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.006812, allocations: 12 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.006843, allocations: 11.98 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.006893, allocations: 15.94 kB / 0.8205 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.007095, allocations: 47.84 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.878e-05/0.007124, allocations: 4 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.304e-06/0.007126, allocations: 0 / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.007153, allocations: 0 / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007031/0.007856, allocations: 292.3 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.00791, allocations: 8.625 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.007966, allocations: 12.92 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.008114, allocations: 129.5 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.008136, allocations: 8.375 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.008152, allocations: 4.375 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.008335, allocations: 62.94 kB / 0.821 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.008346, allocations: 4.188 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.008359, allocations: 4.359 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.008373, allocations: 8.125 kB / 0.821 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.008409, allocations: 11.94 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.009036, allocations: 192.1 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.009186, allocations: 34.59 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.009215, allocations: 8.859 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.009257, allocations: 4 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.009412, allocations: 71.42 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.009416, allocations: 0 / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001957/0.009611, allocations: 57.62 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.009676, allocations: 59.39 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.009802, allocations: 122.7 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.009824, allocations: 25.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.009889, allocations: 96.06 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.009916, allocations: 15.91 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.009975, allocations: 29.69 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.0101, allocations: 318.8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.01013, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.01019, allocations: 57.98 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.0103, allocations: 69.88 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.0103, allocations: 0 / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001645/0.01046, allocations: 81.53 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.01049, allocations: 7.938 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.0105, allocations: 4 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01052, allocations: 0 / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.0107, allocations: 27.92 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.01071, allocations: 4 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.01077, allocations: 7.938 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.01079, allocations: 11.92 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001047/0.01089, allocations: 118.1 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.01091, allocations: 11.88 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.01095, allocations: 12.42 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01096, allocations: 4 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01096, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01096, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.01128, allocations: 211.1 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.01128, allocations: 3.938 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.01135, allocations: 15.92 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.01136, allocations: 3.953 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01137, allocations: 0 / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01138, allocations: 8 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01138, allocations: 0 / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01138, allocations: 80 / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.01155, allocations: 155.4 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01157, allocations: 8 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01164, allocations: 4 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01169, allocations: 7.984 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.0117, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.01173, allocations: 16.84 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01173, allocations: 0 / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002665/0.012, allocations: 19.94 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002112/0.01221, allocations: 96.33 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01235, allocations: 40.78 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.01236, allocations: 4 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.01241, allocations: 12.86 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01267, allocations: 26.36 kB / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006717/0.01335, allocations: 161.5 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.01341, allocations: 63.2 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.01345, allocations: 8 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.01354, allocations: 63.3 kB / 0.8233 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of SimCode: time 1.613e-06/0.01354, allocations: 0 / 0.8233 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.005197/0.01874, allocations: 1.093 MB / 0.8244 GB, free: 12.4 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.671803175471723]