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.00129/0.001291, allocations: 112.4 kB / 17.08 MB, free: 5.785 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.001334/0.001333, allocations: 198.1 kB / 20.03 MB, free: 2.906 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.69/2.69, allocations: 437 MB / 0.7177 GB, free: 4.469 MB / 0.5606 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.001945/0.001946, allocations: 63.89 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 151.6 MB / 1.176 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001974/0.3111, allocations: 0.7587 MB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3126, allocations: 1.074 MB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.3127, allocations: 0 / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.3127, allocations: 7.938 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.3128, allocations: 11.88 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3131, allocations: 55.81 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3133, allocations: 71.78 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3134, allocations: 16.17 kB / 1.178 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.3135, allocations: 31.91 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.3135, allocations: 31.84 kB / 1.178 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3135, allocations: 8 kB / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.3136, allocations: 23.92 kB / 1.178 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.3137, allocations: 19.92 kB / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.3137, allocations: 31.86 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3139, allocations: 79.62 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3139, allocations: 3.984 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3139, allocations: 0 / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3139, allocations: 0 / 1.178 GB, free: 3.605 MB / 0.92 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.0005409/0.3145, allocations: 387.1 kB / 1.178 GB, free: 3.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3145, allocations: 8.031 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3145, allocations: 8.891 kB / 1.178 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3147, allocations: 172.3 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3147, allocations: 16.31 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3147, allocations: 4.375 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3149, allocations: 66.17 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3149, allocations: 3.938 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.315, allocations: 3.938 kB / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.315, allocations: 0 / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3152, allocations: 43.95 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.3158, allocations: 332.6 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.316, allocations: 54.55 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.3161, allocations: 28.97 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3161, allocations: 0 / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.3164, allocations: 91.34 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3164, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004223/0.3168, allocations: 125.6 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3168, allocations: 51.41 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.317, allocations: 129.8 kB / 1.179 GB, free: 1.918 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.317, allocations: 25.7 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.3171, allocations: 92.14 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3171, allocations: 19.88 kB / 1.18 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3171, allocations: 25.72 kB / 1.18 GB, free: 1.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3173, allocations: 326.8 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3174, allocations: 27.97 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3176, allocations: 77.92 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3178, allocations: 105.9 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3178, allocations: 0 / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.3181, allocations: 137.6 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3182, allocations: 8 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3182, allocations: 0 / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3182, allocations: 7.938 kB / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3183, allocations: 15.98 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3183, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.3184, allocations: 23.88 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3185, allocations: 4 kB / 1.18 GB, free: 0.9648 MB / 0.92 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.0001068/0.3186, allocations: 125.8 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.3186, allocations: 11.94 kB / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3186, allocations: 8.375 kB / 1.18 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3186, allocations: 4 kB / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3186, allocations: 0 / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3186, allocations: 0 / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.3191, allocations: 366.4 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3192, allocations: 4 kB / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.3192, allocations: 11.98 kB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3192, allocations: 0 / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3192, allocations: 4 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3193, allocations: 3.938 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3193, allocations: 7.938 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.3196, allocations: 207.4 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.3196, allocations: 85.06 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3196, allocations: 4 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3197, allocations: 11.92 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.3198, allocations: 0 / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3198, allocations: 4 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.3199, allocations: 95.27 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3199, allocations: 0 / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002462/0.3201, allocations: 15.94 kB / 1.181 GB, free: 15.91 MB / 0.9356 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.0001602/0.3203, allocations: 111.2 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3206, allocations: 76.36 kB / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3206, allocations: 0 / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3207, allocations: 39.91 kB / 1.181 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.321, allocations: 18.61 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.3214, allocations: 191.6 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3217, allocations: 0.6885 MB / 1.182 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3217, allocations: 15.42 kB / 1.182 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3217, allocations: 0 / 1.182 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.002665/0.3244, allocations: 1.043 MB / 1.183 GB, free: 13.68 MB / 0.9356 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.226398548926227]