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.000943/0.000943, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000994/0.000994, allocations: 165 kB / 24.16 MB, free: 332 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 0.9802/0.9802, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.943/1.943, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] 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.275e-06/2.275e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.648e-05, allocations: 2.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001252/0.001268, allocations: 0.7619 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002331, allocations: 1.128 MB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.002379, allocations: 0 / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.002408, allocations: 8.797 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.002485, allocations: 13.94 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.002741, allocations: 51.77 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002845, allocations: 76.52 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.002925, allocations: 16.98 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.003008, allocations: 42.59 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.003051, allocations: 29.48 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003067, allocations: 8 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.003119, allocations: 19.98 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.00314, allocations: 19.91 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.003163, allocations: 17.45 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003266, allocations: 63.73 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003267, allocations: 0 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003268, allocations: 0 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003271, allocations: 1.25 kB / 0.7622 GB, free: 4.391 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.0003402/0.003612, allocations: 272.7 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.003643, allocations: 8.031 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.003671, allocations: 10.17 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.003753, allocations: 121.6 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003763, allocations: 4.375 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.003775, allocations: 5.281 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.003872, allocations: 74.86 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003879, allocations: 0.875 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003886, allocations: 384 / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.003893, allocations: 5.781 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.003911, allocations: 8 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.004192, allocations: 184.2 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.004266, allocations: 35.31 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.004283, allocations: 10.02 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.004299, allocations: 4 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.004364, allocations: 67.47 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.004365, allocations: 0.7188 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001098/0.004475, allocations: 57.67 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.004511, allocations: 56.16 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.004572, allocations: 126.6 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.004581, allocations: 26.45 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.004617, allocations: 96.06 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.004633, allocations: 20.72 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.004666, allocations: 29.69 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.004739, allocations: 325 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.004754, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.004792, allocations: 61.86 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.00485, allocations: 69.25 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.004853, allocations: 0 / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.472e-05/0.004938, allocations: 84.56 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.004951, allocations: 7.938 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.004956, allocations: 4 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.004972, allocations: 0 / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.005052, allocations: 23.98 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.005056, allocations: 0 / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.005085, allocations: 4 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.005097, allocations: 7.984 kB / 0.764 GB, free: 2.43 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 6.106e-05/0.005158, allocations: 123.6 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.005168, allocations: 7.938 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.00519, allocations: 12.44 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005191, allocations: 0 / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.005197, allocations: 0 / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.005202, allocations: 6.953 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.005375, allocations: 222.7 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.005378, allocations: 7.938 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.005397, allocations: 7.984 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005398, allocations: 0 / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.005402, allocations: 0 / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005403, allocations: 0 / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005403, allocations: 2.75 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/0.005483, allocations: 155.5 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.005491, allocations: 7.891 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005501, allocations: 4 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.005531, allocations: 4 kB / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.005559, allocations: 7.984 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.005562, allocations: 0 / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.589e-05/0.005578, allocations: 16.84 kB / 0.7645 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005578, allocations: 0.6875 kB / 0.7645 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001378/0.005715, allocations: 21.5 kB / 0.7645 GB, free: 1.789 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 9.684e-05/0.005812, allocations: 88.39 kB / 0.7646 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.005893, allocations: 42.06 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005895, allocations: 0 / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.005923, allocations: 21.92 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.006058, allocations: 20.92 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.006309, allocations: 165.5 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.006341, allocations: 59.94 kB / 0.7649 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.006362, allocations: 9.094 kB / 0.7649 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.00641, allocations: 63.38 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.00641, allocations: 1.469 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.002513/0.008923, allocations: 1.058 MB / 0.766 GB, free: 276 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 -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.072926356922835]