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.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.001615/0.001615, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001822/0.001822, allocations: 223.1 kB / 23 MB, free: 4.91 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.33 kB / 1.118 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 169.9 MB / 1.284 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002264/0.3469, allocations: 0.7469 MB / 1.285 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3485, allocations: 1.086 MB / 1.286 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3485, allocations: 0 / 1.286 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3486, allocations: 3.938 kB / 1.286 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.3486, allocations: 11.88 kB / 1.286 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.349, allocations: 62.69 kB / 1.286 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3491, allocations: 71.78 kB / 1.286 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3492, allocations: 16.17 kB / 1.286 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.3493, allocations: 31.91 kB / 1.286 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.123e-05/0.3494, allocations: 27.84 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3494, allocations: 4 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.3495, allocations: 16 kB / 1.286 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.3495, allocations: 19.91 kB / 1.286 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.3495, allocations: 27.86 kB / 1.286 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3497, allocations: 83.62 kB / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3497, allocations: 0 / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3497, allocations: 4 kB / 1.286 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3497, allocations: 0 / 1.286 GB, free: 1.629 MB / 0.9825 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.0005711/0.3503, allocations: 306 kB / 1.286 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3503, allocations: 8.031 kB / 1.286 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3503, allocations: 8.891 kB / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3505, allocations: 110.5 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3505, allocations: 8.375 kB / 1.286 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3505, allocations: 4.375 kB / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3507, allocations: 74.09 kB / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3507, allocations: 7.938 kB / 1.286 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3507, allocations: 0 / 1.286 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3508, allocations: 0 / 1.286 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3509, allocations: 43.95 kB / 1.287 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.3515, allocations: 264.3 kB / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3517, allocations: 50.55 kB / 1.287 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.3518, allocations: 36.97 kB / 1.287 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3518, allocations: 4 kB / 1.287 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.352, allocations: 79.39 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.352, allocations: 0 / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.3525, allocations: 125.6 kB / 1.287 GB, free: 412 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3525, allocations: 59.41 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3526, allocations: 133.7 kB / 1.287 GB, free: 196 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3527, allocations: 25.7 kB / 1.287 GB, free: 164 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.3527, allocations: 96.03 kB / 1.287 GB, free: 64 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3528, allocations: 19.88 kB / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.3528, allocations: 29.72 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.353, allocations: 322.8 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3531, allocations: 27.97 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3532, allocations: 77.92 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3535, allocations: 105.9 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3535, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003057/0.3538, allocations: 133.5 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3538, allocations: 11.94 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3538, allocations: 0 / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3538, allocations: 4 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3539, allocations: 15.98 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3539, allocations: 4 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.354, allocations: 11.92 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.354, allocations: 12.22 kB / 1.288 GB, free: 15.24 MB / 0.9981 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.0001107/0.3541, allocations: 129.7 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.3542, allocations: 7.938 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.3542, allocations: 12.38 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3542, allocations: 0 / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3542, allocations: 0 / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3542, allocations: 0 / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.3546, allocations: 314 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3546, allocations: 4 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.3547, allocations: 7.984 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3547, allocations: 0 / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3547, allocations: 11.94 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3547, allocations: 0 / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3547, allocations: 0 / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.355, allocations: 211.3 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.355, allocations: 0 / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.355, allocations: 4 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.3551, allocations: 11.98 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3552, allocations: 7.938 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3552, allocations: 11.92 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.3552, allocations: 87.28 kB / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002547/0.3555, allocations: 23.88 kB / 1.289 GB, free: 14.35 MB / 0.9981 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.0001418/0.3556, allocations: 103.2 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3559, allocations: 79.94 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3559, allocations: 0 / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.356, allocations: 31.92 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3563, allocations: 23.98 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.3567, allocations: 180.4 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.3567, allocations: 83.64 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.3568, allocations: 11.44 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3568, allocations: 0 / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.002758/0.3595, allocations: 1.065 MB / 1.29 GB, free: 12.73 MB / 0.9981 GB " [Timeout remaining time 300] 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 -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/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:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 10.97093378379941]