Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0008366/0.0008366, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001014/0.001014, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.963/1.963, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.088e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001769/0.0018, allocations: 0.754 MB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.003328, allocations: 1.121 MB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.003386, allocations: 3.938 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.003419, allocations: 4.5 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.732e-05/0.003506, allocations: 8.562 kB / 0.789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.003839, allocations: 59.75 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003969, allocations: 72.39 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.004095, allocations: 16.98 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004203, allocations: 43.84 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.004267, allocations: 27.95 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.004291, allocations: 8.969 kB / 0.7892 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.383e-05/0.004355, allocations: 12 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.004386, allocations: 22.81 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.004426, allocations: 19.92 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.00459, allocations: 55.86 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.004594, allocations: 0 / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004595, allocations: 7.938 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.004601, allocations: 0 / 0.7893 GB, free: 10.58 MB / 0.7448 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.0005474/0.005149, allocations: 396.4 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005193, allocations: 8.031 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.005255, allocations: 14.2 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005377, allocations: 132.4 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.005391, allocations: 384 / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.005407, allocations: 8.969 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.005576, allocations: 71.88 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005584, allocations: 192 / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.005595, allocations: 384 / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.005608, allocations: 8.766 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.005647, allocations: 15.92 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.006175, allocations: 301.5 kB / 0.7902 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.006285, allocations: 47.08 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.006317, allocations: 11.69 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.006341, allocations: 9.469 kB / 0.7903 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.00645, allocations: 65.17 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.006452, allocations: 0 / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002343/0.006686, allocations: 94.83 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.00673, allocations: 51.41 kB / 0.7905 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.006842, allocations: 185.8 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.006858, allocations: 25.7 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.006919, allocations: 141.2 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.006947, allocations: 15.84 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.007002, allocations: 39.36 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.007148, allocations: 0.4884 MB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.007188, allocations: 11.94 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.007259, allocations: 73.8 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.00737, allocations: 97.05 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007372, allocations: 0 / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001758/0.007548, allocations: 102.8 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.007564, allocations: 4.688 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.007572, allocations: 4 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.007587, allocations: 0.8438 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.007712, allocations: 23.92 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.00772, allocations: 1.375 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.008063, allocations: 7.984 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.008077, allocations: 4 kB / 0.7917 GB, free: 7.906 MB / 0.7448 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 9.074e-05/0.008168, allocations: 161.7 kB / 0.7918 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.008188, allocations: 19.89 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.008215, allocations: 8.375 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008217, allocations: 0.5625 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008221, allocations: 0.7812 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008226, allocations: 3.984 kB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.00853, allocations: 342.1 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008532, allocations: 0 / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.008572, allocations: 13.7 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008575, allocations: 0 / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008583, allocations: 4 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.008586, allocations: 0 / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008588, allocations: 4 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.008739, allocations: 224.7 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.008752, allocations: 7.953 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008767, allocations: 2.312 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.008826, allocations: 4 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.008873, allocations: 7.984 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.008882, allocations: 4 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.008936, allocations: 139.1 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008936, allocations: 0 / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002523/0.009188, allocations: 12 kB / 0.7926 GB, free: 6.906 MB / 0.7448 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.0001711/0.009359, allocations: 113.2 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.009503, allocations: 48.09 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009505, allocations: 0.5 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.009553, allocations: 24.14 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.009845, allocations: 20.16 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.01027, allocations: 166.8 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.01032, allocations: 66.5 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.01035, allocations: 7.984 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.01038, allocations: 13.03 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of SimCode: time 1.352e-06/0.01038, allocations: 0.6562 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.003687/0.01407, allocations: 1.031 MB / 0.794 GB, free: 5.398 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.401881695957854]