Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009401/0.0009401, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.001016/0.001016, allocations: 161 kB / 24.17 MB, free: 316 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.05/1.05, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.995/1.995, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SampleTrigger,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.067e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001477/0.001498, allocations: 0.8158 MB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002595, allocations: 1.119 MB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.002639, allocations: 5.219 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.002664, allocations: 3.938 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.00274, allocations: 14.16 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.002982, allocations: 51.77 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003085, allocations: 80.73 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.003166, allocations: 16.11 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.003251, allocations: 43.91 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.003298, allocations: 28.64 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.003313, allocations: 4 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.003374, allocations: 17.7 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003393, allocations: 23.91 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.003418, allocations: 15.98 kB / 0.7623 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003523, allocations: 59.75 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003526, allocations: 3.984 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003527, allocations: 1.188 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.00353, allocations: 0 / 0.7623 GB, free: 4.32 MB / 0.7136 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.0003063/0.003836, allocations: 277.2 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.00387, allocations: 8.031 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.003899, allocations: 9.641 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.003978, allocations: 117.6 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.003988, allocations: 8.844 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.004, allocations: 13.27 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.004093, allocations: 66.92 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.0041, allocations: 5.156 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.004107, allocations: 384 / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004113, allocations: 8.125 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.004132, allocations: 4.656 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.00442, allocations: 189.9 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.747e-05/0.004487, allocations: 34.56 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.004502, allocations: 8.859 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.004516, allocations: 1.719 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.004583, allocations: 67.47 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.004584, allocations: 0 / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001101/0.004694, allocations: 61.67 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.004725, allocations: 54.16 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.004789, allocations: 122.7 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.004802, allocations: 29.7 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.004844, allocations: 96.06 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.004859, allocations: 11.84 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.004893, allocations: 33.69 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.004966, allocations: 322.8 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.004982, allocations: 11.94 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.005018, allocations: 51.92 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.005079, allocations: 66.88 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005081, allocations: 0.7188 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.249e-05/0.005173, allocations: 86.94 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.005186, allocations: 12.44 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005191, allocations: 3 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.005204, allocations: 7.938 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.005281, allocations: 15.98 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005285, allocations: 7.938 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.005317, allocations: 8 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.005578, allocations: 7.984 kB / 0.7641 GB, free: 2.344 MB / 0.7136 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 5.79e-05/0.005636, allocations: 113.8 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.005645, allocations: 10.38 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.005666, allocations: 8.438 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005667, allocations: 0 / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.00567, allocations: 3.984 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005673, allocations: 0 / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.005845, allocations: 222.7 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.005848, allocations: 5.375 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.005873, allocations: 7.984 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005874, allocations: 0 / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-06/0.005878, allocations: 0 / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005879, allocations: 1 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00588, allocations: 0 / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.352e-05/0.005954, allocations: 159.8 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.005961, allocations: 9.047 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.00597, allocations: 4 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.006002, allocations: 0 / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.006031, allocations: 12.55 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006035, allocations: 2.281 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.443e-05/0.00605, allocations: 16.84 kB / 0.7646 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00605, allocations: 0 / 0.7646 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001445/0.006194, allocations: 12 kB / 0.7646 GB, free: 1.723 MB / 0.7136 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.0001015/0.006296, allocations: 96.38 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.006375, allocations: 42.72 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.006377, allocations: 0 / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.006404, allocations: 20.92 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.006551, allocations: 23.97 kB / 0.7648 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.006796, allocations: 162.2 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.006828, allocations: 59.34 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.006851, allocations: 9.5 kB / 0.765 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.006904, allocations: 67.38 kB / 0.7651 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.006904, allocations: 0 / 0.7651 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of Templates: time 0.002567/0.009472, allocations: 1.064 MB / 0.7661 GB, free: 200 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.14442841289565]