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.001836/0.001836, allocations: 92.7 kB / 19.44 MB, free: 324 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.002392/0.002392, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.284/3.284, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.886e-06/2.886e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.677e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002202/0.002238, allocations: 0.7405 MB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.004068, allocations: 1.091 MB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.004124, allocations: 5.594 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.00416, allocations: 7.875 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.004247, allocations: 11.88 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.004604, allocations: 52.31 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004743, allocations: 69.22 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004851, allocations: 20.16 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004972, allocations: 39.91 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.005034, allocations: 27.95 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.005057, allocations: 4.75 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.005119, allocations: 15.94 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.005149, allocations: 21.27 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.005201, allocations: 23.91 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.005398, allocations: 83.73 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005401, allocations: 0 / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005402, allocations: 1.594 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.005407, allocations: 0 / 0.8798 GB, free: 4.293 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.0006037/0.006011, allocations: 306 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.00605, allocations: 9.5 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.00611, allocations: 12.88 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.006254, allocations: 117.7 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006268, allocations: 384 / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.006287, allocations: 11.47 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.006505, allocations: 66.22 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.006514, allocations: 192 / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.006524, allocations: 384 / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.006533, allocations: 8.125 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.006722, allocations: 47.89 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.007408, allocations: 262.4 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.007594, allocations: 46.56 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.007709, allocations: 40.98 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.007737, allocations: 3.938 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.007979, allocations: 75.38 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.00798, allocations: 0 / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004982/0.008479, allocations: 129.6 kB / 0.8809 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.008545, allocations: 59.34 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.008691, allocations: 121.8 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.008722, allocations: 33.69 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.008804, allocations: 96.02 kB / 0.8812 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.008829, allocations: 15.91 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.0089, allocations: 29.7 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.009105, allocations: 322.8 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.009226, allocations: 23.98 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.009385, allocations: 73.97 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.009658, allocations: 109.9 kB / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009661, allocations: 0 / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000383/0.01004, allocations: 145.4 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01006, allocations: 4 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.01007, allocations: 8 kB / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01009, allocations: 0 / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01023, allocations: 19.92 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01023, allocations: 4 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.01033, allocations: 19.92 kB / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01035, allocations: 8.219 kB / 0.8819 GB, free: 1.898 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 0.0001153/0.01046, allocations: 113.8 kB / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.01049, allocations: 11.89 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.01053, allocations: 20.41 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01053, allocations: 0 / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01054, allocations: 0 / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01054, allocations: 0 / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.01109, allocations: 322 kB / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01109, allocations: 0 / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.01114, allocations: 11.98 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01114, allocations: 0 / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01116, allocations: 4 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.01116, allocations: 3.938 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01116, allocations: 0 / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.01151, allocations: 207.7 kB / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.01153, allocations: 7.953 kB / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.01154, allocations: 0 / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.01164, allocations: 15.98 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.01168, allocations: 4 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01169, allocations: 0 / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.01176, allocations: 91.92 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002784/0.01204, allocations: 23.94 kB / 0.8827 GB, free: 1.012 MB / 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.0002258/0.01227, allocations: 114.8 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.01259, allocations: 75.94 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01259, allocations: 0 / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01272, allocations: 36.03 kB / 0.8829 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01302, allocations: 19.92 kB / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.01347, allocations: 161 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.01355, allocations: 79.64 kB / 0.8832 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01359, allocations: 8 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01363, allocations: 12.5 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01363, allocations: 0 / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of Templates: time 0.004511/0.01814, allocations: 1.044 MB / 0.8842 GB, free: 15.48 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.481782863033004]