Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001758/0.001758, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.00198/0.00198, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.942/2.942, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [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.002153/0.002153, allocations: 75.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00204/1.028, allocations: 0.7364 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.03, allocations: 1.086 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/1.03, allocations: 1.031 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/1.03, allocations: 9.953 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/1.03, allocations: 10.72 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/1.03, allocations: 55.12 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/1.03, allocations: 73 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/1.03, allocations: 20.39 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/1.031, allocations: 31.09 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/1.031, allocations: 37.41 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/1.031, allocations: 9.812 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/1.031, allocations: 18.95 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/1.031, allocations: 17.31 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/1.031, allocations: 29.66 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/1.031, allocations: 79.69 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.031, allocations: 1.375 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.864e-06/1.031, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.031, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 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.0005431/1.031, allocations: 298.9 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.032, allocations: 14.91 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/1.032, allocations: 11.61 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/1.032, allocations: 121.1 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.032, allocations: 6.719 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.032, allocations: 5.062 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/1.032, allocations: 63.45 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.032, allocations: 5.25 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.032, allocations: 0.75 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.032, allocations: 1.281 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/1.032, allocations: 50.81 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/1.033, allocations: 255.4 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/1.033, allocations: 53.62 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/1.033, allocations: 31.64 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/1.033, allocations: 1.734 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/1.033, allocations: 78.02 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/1.033, allocations: 0 / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004443/1.034, allocations: 128.3 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.034, allocations: 62.69 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/1.034, allocations: 118.7 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.034, allocations: 26.61 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/1.034, allocations: 93.27 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.034, allocations: 24.23 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/1.034, allocations: 34.27 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/1.034, allocations: 323.8 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/1.034, allocations: 26.88 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/1.034, allocations: 71.67 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/1.034, allocations: 112.3 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.034, allocations: 3.938 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003152/1.035, allocations: 126.7 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.035, allocations: 12.5 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.035, allocations: 6.328 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/1.035, allocations: 3.062 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.035, allocations: 16.38 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.035, allocations: 6.812 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/1.035, allocations: 12.19 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/1.035, allocations: 5.938 kB / 1.191 GB, free: 13.03 MB / 1.076 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 7.042e-05/1.035, allocations: 123.7 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/1.035, allocations: 7.109 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/1.035, allocations: 15.17 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.035, allocations: 1.375 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.035, allocations: 1.438 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.035, allocations: 0.6562 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/1.036, allocations: 316.1 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.036, allocations: 0.6562 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/1.036, allocations: 9.672 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.036, allocations: 0 / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.036, allocations: 1.938 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.036, allocations: 8 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.036, allocations: 0 / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/1.036, allocations: 222.2 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/1.036, allocations: 7.047 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.036, allocations: 2.625 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/1.036, allocations: 5.953 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/1.036, allocations: 8.219 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/1.036, allocations: 7.047 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.066e-05/1.036, allocations: 96.45 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 1.312 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002609/1.036, allocations: 12.91 kB / 1.192 GB, free: 12.35 MB / 1.076 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.0001271/1.037, allocations: 105.2 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003122/1.037, allocations: 76.64 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.037, allocations: 1.688 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/1.037, allocations: 33.34 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.037, allocations: 15.92 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/1.038, allocations: 159.3 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/1.038, allocations: 76.3 kB / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.851e-05/1.038, allocations: 11.25 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/1.038, allocations: 16.67 kB / 1.192 GB, free: 11.99 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.038, allocations: 0 / 1.192 GB, free: 11.99 MB / 1.076 GB Notification: Performance of Templates: time 0.004682/1.042, allocations: 1.016 MB / 1.193 GB, free: 11.89 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 9.206964687095024]