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.002178/0.002178, allocations: 81.34 kB / 19.18 MB, free: 2.383 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.00268/0.00268, allocations: 175 kB / 22.47 MB, free: 4.988 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.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.99/2.99, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.26e-05, allocations: 6.219 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002211/0.002243, allocations: 0.7415 MB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.003959, allocations: 1.096 MB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.004016, allocations: 4 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.004064, allocations: 3.938 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.004146, allocations: 11.86 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.004504, allocations: 51.77 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.004647, allocations: 75.77 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004749, allocations: 12.17 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004861, allocations: 39.91 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.004929, allocations: 23.95 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.004952, allocations: 8 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.005018, allocations: 27.92 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.005046, allocations: 11.97 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.005086, allocations: 19.94 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005272, allocations: 95.59 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005275, allocations: 0 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005276, allocations: 0 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.00528, allocations: 0 / 1.002 GB, free: 5.039 MB / 0.9512 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.0006688/0.005949, allocations: 302.1 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.005989, allocations: 8.031 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.006033, allocations: 8.891 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.006152, allocations: 117.7 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006168, allocations: 8.375 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.006184, allocations: 4.375 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.006414, allocations: 70.16 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006423, allocations: 192 / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.006436, allocations: 4.375 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.006448, allocations: 12.06 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.006639, allocations: 39.95 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.007292, allocations: 252.5 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.007486, allocations: 54.58 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.00759, allocations: 24.97 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.007617, allocations: 11.94 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.007879, allocations: 75.38 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.00788, allocations: 4 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.008344, allocations: 133.5 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.008399, allocations: 59.41 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.008515, allocations: 129.7 kB / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.008537, allocations: 25.7 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.008609, allocations: 92.09 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.008635, allocations: 19.83 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.008694, allocations: 29.72 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.008851, allocations: 322.8 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.00898, allocations: 27.97 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.009135, allocations: 73.98 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.009416, allocations: 109.8 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.009423, allocations: 4 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.009779, allocations: 133.4 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.009796, allocations: 4 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.009805, allocations: 4.219 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.009821, allocations: 4 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.009962, allocations: 19.92 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.009971, allocations: 4 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.01006, allocations: 7.984 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01008, allocations: 4 kB / 1.004 GB, free: 2.664 MB / 0.9512 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.0001435/0.01022, allocations: 124.6 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.01024, allocations: 11.88 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.01027, allocations: 12.44 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01027, allocations: 4 kB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01028, allocations: 7.938 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01028, allocations: 0 / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.0108, allocations: 314.1 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01081, allocations: 0 / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.01087, allocations: 11.92 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01087, allocations: 4 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01088, allocations: 3.938 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01088, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01088, allocations: 4 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01123, allocations: 211.4 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.01125, allocations: 15.89 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01126, allocations: 0 / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.01135, allocations: 7.984 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.0114, allocations: 3.984 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.0114, allocations: 4 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.01147, allocations: 91.28 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01147, allocations: 0 / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002927/0.01176, allocations: 23.98 kB / 1.005 GB, free: 1.766 MB / 0.9512 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.0001872/0.01195, allocations: 103.2 kB / 1.005 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.01226, allocations: 84.34 kB / 1.005 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01226, allocations: 0 / 1.005 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01238, allocations: 28.42 kB / 1.005 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01266, allocations: 24.06 kB / 1.005 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01307, allocations: 161.5 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.01315, allocations: 71.33 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.01318, allocations: 4 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.01322, allocations: 12.5 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of SimCode: time 6.42e-07/0.01322, allocations: 0 / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of Templates: time 0.004298/0.01751, allocations: 1.029 MB / 1.007 GB, free: 260 kB / 0.9512 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.56778883934021]