Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001657/0.001657, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002699/0.002699, allocations: 200.1 kB / 22.17 MB, free: 5.211 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.6/1.6, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.985/2.985, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8359, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002096/0.838, allocations: 0.7605 MB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.8394, allocations: 1.078 MB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.8395, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.8395, allocations: 11.92 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.8396, allocations: 11.86 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.8399, allocations: 51.83 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.84, allocations: 71.83 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8401, allocations: 12.19 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.8402, allocations: 35.84 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.8402, allocations: 27.91 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.8403, allocations: 7.938 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.8403, allocations: 19.98 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.8404, allocations: 15.92 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.8404, allocations: 39.84 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.8406, allocations: 82.3 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8406, allocations: 0 / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8406, allocations: 0 / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8406, allocations: 3.938 kB / 1.276 GB, free: 2.266 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.0006016/0.8412, allocations: 387.1 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8412, allocations: 8.031 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.8412, allocations: 8.891 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.8414, allocations: 172.3 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8414, allocations: 4.375 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.8414, allocations: 8.375 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.8416, allocations: 74.16 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.8417, allocations: 3.938 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.8417, allocations: 0 / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8417, allocations: 4 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.8419, allocations: 43.95 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.8425, allocations: 328.7 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.8427, allocations: 46.56 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.8428, allocations: 28.95 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.8428, allocations: 0 / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.843, allocations: 87.41 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.843, allocations: 3.938 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.8434, allocations: 125.6 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8435, allocations: 51.41 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.8436, allocations: 129.7 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.8436, allocations: 29.7 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.8437, allocations: 92.12 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.8437, allocations: 15.84 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.8438, allocations: 29.7 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8439, allocations: 322.8 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.844, allocations: 31.92 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.8442, allocations: 81.91 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8444, allocations: 105.9 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8444, allocations: 3.938 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003229/0.8448, allocations: 133.6 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8448, allocations: 4 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.8448, allocations: 8.25 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.8448, allocations: 0 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.8449, allocations: 15.98 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8449, allocations: 4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.845, allocations: 15.94 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.845, allocations: 11.98 kB / 1.279 GB, free: 15.63 MB / 0.9825 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.0001007/0.8451, allocations: 127.7 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.8452, allocations: 7.953 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.8452, allocations: 12.36 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8452, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8452, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8452, allocations: 3.984 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.8457, allocations: 374.4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8457, allocations: 7.984 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.8457, allocations: 8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8458, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8458, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8458, allocations: 3.938 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8458, allocations: 3.984 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.8461, allocations: 207.5 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.8461, allocations: 81.06 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.8461, allocations: 3.984 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.8462, allocations: 7.938 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.8463, allocations: 15.92 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.8463, allocations: 4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.8463, allocations: 99.2 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8463, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002468/0.8466, allocations: 12 kB / 1.279 GB, free: 14.56 MB / 0.9825 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.0001501/0.8467, allocations: 111.8 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.847, allocations: 75.88 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.847, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.8472, allocations: 31.91 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.8474, allocations: 17.42 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.8478, allocations: 170 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8481, allocations: 0.6885 MB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.8481, allocations: 7.938 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.8482, allocations: 19.42 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.8482, allocations: 0 / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.003872/0.8521, allocations: 0.9815 MB / 1.282 GB, free: 12.45 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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:ramp.duration,ramp.height,ramp.offset,ramp.startTime,samTri.period,samTri.shift,samTri.t0,samTri.y,samTri1.period,samTri1.shift,samTri1.t0,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,triggeredSampler1.u,triggeredSampler1.y,triggeredSampler1.y_start [Calling sys.exit(0), Time elapsed: 9.110554122831672]