Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001443/0.001443, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001609/0.001609, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.488/1.488, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.88/2.88, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.641e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001991/0.002027, allocations: 0.7286 MB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003609, allocations: 1.096 MB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.003654, allocations: 0 / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.00369, allocations: 11.81 kB / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.003765, allocations: 15.88 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.004077, allocations: 47.81 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.004213, allocations: 71.77 kB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004319, allocations: 16.17 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.00442, allocations: 39.91 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.004483, allocations: 23.95 kB / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.004506, allocations: 8 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.004572, allocations: 23.94 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.004603, allocations: 15.91 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.004651, allocations: 23.92 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004821, allocations: 83.67 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004824, allocations: 4 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004825, allocations: 3.938 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.004829, allocations: 0 / 0.9836 GB, free: 9.699 MB / 0.9356 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.0005782/0.005407, allocations: 302 kB / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.005449, allocations: 12.03 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.005491, allocations: 8.891 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005618, allocations: 125.7 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.005631, allocations: 384 / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.005651, allocations: 8.375 kB / 0.984 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.005864, allocations: 70.16 kB / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.005874, allocations: 192 / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005884, allocations: 384 / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.00589, allocations: 8.125 kB / 0.9841 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.006081, allocations: 39.97 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.006749, allocations: 252.5 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.006932, allocations: 50.55 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.007042, allocations: 32.95 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.007066, allocations: 3.938 kB / 0.9845 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.007291, allocations: 87.36 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.516e-06/0.007294, allocations: 4 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004624/0.007757, allocations: 129.6 kB / 0.9847 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.007803, allocations: 51.41 kB / 0.9847 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.007923, allocations: 121.8 kB / 0.9849 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.007948, allocations: 29.7 kB / 0.9849 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.008012, allocations: 92.12 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.008039, allocations: 23.78 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.008101, allocations: 29.7 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.008247, allocations: 318.8 kB / 0.9853 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.008391, allocations: 31.98 kB / 0.9854 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.008554, allocations: 74.36 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.008825, allocations: 109.9 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.008828, allocations: 0 / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003474/0.009175, allocations: 133.3 kB / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.009192, allocations: 10.48 kB / 0.9857 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.009199, allocations: 4 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.009214, allocations: 4.219 kB / 0.9857 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.009349, allocations: 19.98 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.009356, allocations: 7.938 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.009444, allocations: 11.94 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.00946, allocations: 8 kB / 0.9857 GB, free: 7.316 MB / 0.9356 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.000112/0.009572, allocations: 117.8 kB / 0.9858 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.009591, allocations: 11.89 kB / 0.9858 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.00963, allocations: 12.42 kB / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009632, allocations: 0 / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.009639, allocations: 8 kB / 0.9859 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.009644, allocations: 3.984 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.01014, allocations: 314.1 kB / 0.9862 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01014, allocations: 0 / 0.9862 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.0102, allocations: 8 kB / 0.9862 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0102, allocations: 0 / 0.9862 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01022, allocations: 3.984 kB / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01022, allocations: 0 / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01022, allocations: 0 / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.01056, allocations: 203.4 kB / 0.9864 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01058, allocations: 19.83 kB / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.0106, allocations: 7.922 kB / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.01069, allocations: 8 kB / 0.9864 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.01073, allocations: 7.984 kB / 0.9864 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.01074, allocations: 0 / 0.9864 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.01081, allocations: 99.42 kB / 0.9865 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01081, allocations: 4 kB / 0.9865 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002714/0.01108, allocations: 20 kB / 0.9865 GB, free: 6.422 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.0001856/0.01127, allocations: 107.2 kB / 0.9866 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01157, allocations: 71.89 kB / 0.9867 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01157, allocations: 0 / 0.9867 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.0117, allocations: 40.38 kB / 0.9867 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.01199, allocations: 16.38 kB / 0.9868 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.01242, allocations: 157.8 kB / 0.9869 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.913e-05/0.01249, allocations: 75.58 kB / 0.987 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.01253, allocations: 7.984 kB / 0.987 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01257, allocations: 12.5 kB / 0.987 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01257, allocations: 0 / 0.987 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.004244/0.01681, allocations: 1.02 MB / 0.988 GB, free: 4.922 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.308605924248695]