Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001242/0.001242, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001276/0.001276, allocations: 170.3 kB / 24.87 MB, free: 8.125 MB / 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 179] 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 1.936/1.936, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 1.203 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.777e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001622/0.001659, allocations: 0.7533 MB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002887, allocations: 1.12 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.002937, allocations: 0.7812 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.002967, allocations: 3.938 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.003053, allocations: 16.91 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.003339, allocations: 52.33 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003442, allocations: 71.78 kB / 0.8148 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.003533, allocations: 16.89 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.003619, allocations: 43.89 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.003668, allocations: 25.5 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003688, allocations: 8 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.003748, allocations: 23.97 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.00377, allocations: 11.92 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.003798, allocations: 17.03 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003919, allocations: 63.78 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003921, allocations: 4 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003922, allocations: 0.7812 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.003931, allocations: 0 / 0.815 GB, free: 15.23 MB / 0.7761 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.0004213/0.004353, allocations: 402 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.004391, allocations: 8.031 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004431, allocations: 12.89 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.00453, allocations: 124.5 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004541, allocations: 1.906 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004554, allocations: 4.375 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.004674, allocations: 70.88 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.004684, allocations: 8.062 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004691, allocations: 1.531 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.004698, allocations: 4.125 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.004721, allocations: 15.98 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.005092, allocations: 273.7 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.005176, allocations: 47.06 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.005197, allocations: 17.56 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.005214, allocations: 7.984 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.758e-05/0.005292, allocations: 57 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.005293, allocations: 0 / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000168/0.005461, allocations: 90.08 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.005646, allocations: 52.41 kB / 0.8161 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.005728, allocations: 177.9 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.005743, allocations: 33.7 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.005792, allocations: 135.4 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.005811, allocations: 21.23 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.005856, allocations: 35.34 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.005969, allocations: 0.4923 MB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.005987, allocations: 4 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.006033, allocations: 72.39 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.00611, allocations: 98.19 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006112, allocations: 0.7188 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001178/0.006229, allocations: 95.62 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006242, allocations: 4 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.006248, allocations: 4 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006259, allocations: 0.5 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.006339, allocations: 27.86 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006342, allocations: 0.5938 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.006381, allocations: 16.75 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.006391, allocations: 4 kB / 0.8173 GB, free: 12.61 MB / 0.7761 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 7.227e-05/0.006464, allocations: 167.5 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.006478, allocations: 17.02 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.006499, allocations: 4.438 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006501, allocations: 0 / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006504, allocations: 0.9062 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006508, allocations: 4 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.006757, allocations: 327 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006758, allocations: 0 / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.00679, allocations: 10.22 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.006794, allocations: 4 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.006799, allocations: 0 / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006801, allocations: 0 / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006803, allocations: 3.984 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.006922, allocations: 219.9 kB / 0.818 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.006931, allocations: 10.73 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.00694, allocations: 0 / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.006977, allocations: 7.984 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.007002, allocations: 4 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007006, allocations: 3.938 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.007047, allocations: 135.8 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007047, allocations: 0 / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001854/0.007232, allocations: 20 kB / 0.8182 GB, free: 11.63 MB / 0.7761 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.0001152/0.007347, allocations: 104.7 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.628e-05/0.007444, allocations: 52.8 kB / 0.8183 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007445, allocations: 0 / 0.8183 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.007474, allocations: 21.5 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.007668, allocations: 19.92 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.007933, allocations: 156.2 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.007971, allocations: 71.14 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.007995, allocations: 5.062 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.008055, allocations: 82.19 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of SimCode: time 9.61e-07/0.008056, allocations: 0 / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.00288/0.01094, allocations: 1.144 MB / 0.8198 GB, free: 10 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.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.2356550339609385]