Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009557/0.0009557, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001019/0.001019, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9965/0.9965, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.141/2.141, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.912e-05, allocations: 11.92 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001268/0.001287, allocations: 0.7582 MB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002328, allocations: 1.125 MB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.002371, allocations: 0.5 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.002402, allocations: 5.281 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.002472, allocations: 9.297 kB / 0.8801 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.002747, allocations: 59.75 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.00284, allocations: 73.11 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.002948, allocations: 20.05 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.003032, allocations: 43.95 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.003078, allocations: 25.5 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003096, allocations: 8 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.003146, allocations: 12 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.003171, allocations: 19.91 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.003201, allocations: 17.8 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.003398, allocations: 67.72 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.0034, allocations: 0 / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003401, allocations: 4 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003405, allocations: 0 / 0.8804 GB, free: 4.07 MB / 0.8386 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.0003977/0.003803, allocations: 403.1 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.00384, allocations: 8.031 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.003885, allocations: 8.938 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.821e-05/0.003973, allocations: 120.5 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003984, allocations: 4.312 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.004001, allocations: 8.375 kB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004121, allocations: 70.88 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.004132, allocations: 8.172 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.004142, allocations: 384 / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.00415, allocations: 4.125 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.00418, allocations: 11.98 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.00457, allocations: 303.6 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.004656, allocations: 43.05 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.00468, allocations: 11.69 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.004702, allocations: 7.938 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.665e-05/0.004779, allocations: 73.2 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.00478, allocations: 0 / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001858/0.004966, allocations: 89.61 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.004996, allocations: 51.41 kB / 0.8816 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.005081, allocations: 185.8 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005093, allocations: 29.69 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.005142, allocations: 134.9 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.005159, allocations: 15.84 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.005198, allocations: 39.36 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.0053, allocations: 0.4884 MB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.005325, allocations: 8 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.005376, allocations: 81.73 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.005454, allocations: 89.73 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.005457, allocations: 4 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001188/0.005576, allocations: 109.4 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.005587, allocations: 7.938 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005592, allocations: 4 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.005606, allocations: 0 / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.005695, allocations: 19.98 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.005701, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.005734, allocations: 7.953 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.005745, allocations: 7.984 kB / 0.8827 GB, free: 1.387 MB / 0.8386 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.223e-05/0.005817, allocations: 168.7 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.005828, allocations: 15.94 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.005853, allocations: 4.438 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005855, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.005858, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.005862, allocations: 3.984 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.00608, allocations: 345.2 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006081, allocations: 0 / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.006104, allocations: 7.984 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.006105, allocations: 0 / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.006112, allocations: 8 kB / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006113, allocations: 4 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006114, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.006221, allocations: 227.8 kB / 0.8835 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.00623, allocations: 11.94 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.006239, allocations: 0 / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.006273, allocations: 8 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.006308, allocations: 3.984 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.006315, allocations: 4 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.006352, allocations: 135.2 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006352, allocations: 0 / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001626/0.006515, allocations: 16 kB / 0.8837 GB, free: 376 kB / 0.8386 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.0001024/0.006617, allocations: 103.2 kB / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.006725, allocations: 47.59 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006727, allocations: 0 / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.00676, allocations: 32.02 kB / 0.8838 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.006948, allocations: 16.38 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.007232, allocations: 162.8 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.007267, allocations: 63.34 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.00729, allocations: 11.98 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.007315, allocations: 12.5 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.007315, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.002541/0.009856, allocations: 1.05 MB / 0.8851 GB, free: 14.88 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.616861064918339]