Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001682/0.001682, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.001936/0.001936, allocations: 198.1 kB / 20.08 MB, free: 3 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.431/1.431, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 160.7 MB / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00202/0.3009, allocations: 0.7523 MB / 1.215 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3026, allocations: 1.078 MB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.3026, allocations: 3.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.3027, allocations: 3.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.3028, allocations: 15.88 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.3031, allocations: 47.88 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3033, allocations: 79.72 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3034, allocations: 16.16 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3035, allocations: 27.92 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.3036, allocations: 31.84 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3036, allocations: 8 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.3037, allocations: 19.98 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.3037, allocations: 23.91 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3038, allocations: 23.88 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.304, allocations: 79.67 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.304, allocations: 0 / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.304, allocations: 0 / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.304, allocations: 4 kB / 1.216 GB, free: 14.62 MB / 0.9669 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.000659/0.3046, allocations: 387 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3047, allocations: 8.031 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.3047, allocations: 12.83 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3049, allocations: 180.3 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3049, allocations: 8.375 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3049, allocations: 4.375 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3051, allocations: 70.22 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3052, allocations: 7.875 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3052, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3052, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3054, allocations: 39.95 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.306, allocations: 324.7 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3062, allocations: 54.58 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3063, allocations: 32.91 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3063, allocations: 7.984 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.3066, allocations: 75.34 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3066, allocations: 4 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004442/0.307, allocations: 125.5 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3071, allocations: 59.41 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3072, allocations: 121.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3072, allocations: 29.7 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.3072, allocations: 92.11 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3073, allocations: 19.91 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.3073, allocations: 29.7 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3075, allocations: 322.8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3076, allocations: 27.97 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3077, allocations: 73.98 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.308, allocations: 109.8 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.308, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003267/0.3083, allocations: 129.5 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3083, allocations: 9.562 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3083, allocations: 224 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3083, allocations: 8 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3085, allocations: 23.91 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3085, allocations: 4 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.3086, allocations: 11.89 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3086, allocations: 7.984 kB / 1.219 GB, free: 11.98 MB / 0.9669 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.0001/0.3087, allocations: 121.8 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.3087, allocations: 11.89 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.3087, allocations: 20.31 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3087, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3087, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3088, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.3093, allocations: 378.7 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3093, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.3093, allocations: 7.984 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3093, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3093, allocations: 8 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3093, allocations: 7.875 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3094, allocations: 4 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3097, allocations: 195.5 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.3097, allocations: 85.06 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3097, allocations: 0 / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.3098, allocations: 19.92 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3099, allocations: 4 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.3099, allocations: 0 / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.31, allocations: 91.27 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.31, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002666/0.3102, allocations: 23.94 kB / 1.219 GB, free: 10.92 MB / 0.9669 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.0001814/0.3104, allocations: 107.2 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3107, allocations: 79.88 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3107, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3108, allocations: 31.98 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3111, allocations: 9.609 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.3115, allocations: 196.1 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3119, allocations: 0.6962 MB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.3119, allocations: 11.44 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.3119, allocations: 0 / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.002993/0.3149, allocations: 1.054 MB / 1.222 GB, free: 8.688 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 10.150447621941566]