Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.002414/0.002414, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002712/0.002712, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.649/1.649, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.07/3.07, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.2e-05, allocations: 8.047 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002718/0.00276, allocations: 0.7433 MB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.005089, allocations: 1.098 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.005153, allocations: 3.938 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.005189, allocations: 7.922 kB / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.005308, allocations: 17.34 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.005691, allocations: 47.83 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.005871, allocations: 79.69 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.005986, allocations: 13.69 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.006123, allocations: 43.89 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.006198, allocations: 19.97 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.006223, allocations: 8 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.006333, allocations: 16.86 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.006376, allocations: 23.91 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.00643, allocations: 20.8 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.006662, allocations: 91.66 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006666, allocations: 0.625 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006667, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.006674, allocations: 0.75 kB / 0.813 GB, free: 15.86 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.0008491/0.007523, allocations: 396.1 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.007576, allocations: 12.66 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.007656, allocations: 17.38 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.007823, allocations: 116.5 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.007848, allocations: 13.08 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.007867, allocations: 4.375 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.008088, allocations: 59.61 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.0081, allocations: 192 / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.008113, allocations: 384 / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.008125, allocations: 9.875 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.008297, allocations: 39.84 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.009097, allocations: 303.7 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.009311, allocations: 60.17 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.009413, allocations: 27.8 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.009446, allocations: 4.469 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.009653, allocations: 77.61 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.009655, allocations: 0.9688 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005002/0.01015, allocations: 126.5 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.01021, allocations: 51.41 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.01043, allocations: 189.9 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.01046, allocations: 28.02 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01058, allocations: 142.8 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.01062, allocations: 23.83 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.01071, allocations: 31.38 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004486/0.01115, allocations: 0.4961 MB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01127, allocations: 23.98 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.01145, allocations: 86.33 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.01175, allocations: 120.5 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01175, allocations: 0.8125 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004108/0.01216, allocations: 131.6 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.01218, allocations: 6.812 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01219, allocations: 5.281 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01221, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01237, allocations: 23.92 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.01238, allocations: 2.219 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.01248, allocations: 8 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.01251, allocations: 11.97 kB / 0.8156 GB, free: 13.01 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 0.0001681/0.01268, allocations: 164.6 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.0127, allocations: 15.83 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.01274, allocations: 11.66 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01275, allocations: 4 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01275, allocations: 0 / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01275, allocations: 0 / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.01339, allocations: 365.4 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01339, allocations: 0 / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.01344, allocations: 11.92 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01345, allocations: 0 / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01346, allocations: 5.125 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01346, allocations: 0 / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01346, allocations: 0 / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.01386, allocations: 244.3 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.01389, allocations: 12.92 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.01391, allocations: 7.984 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01402, allocations: 5.031 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.01407, allocations: 7.922 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01407, allocations: 4 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001257/0.0142, allocations: 144.4 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0142, allocations: 1.625 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004183/0.01462, allocations: 15.94 kB / 0.8165 GB, free: 11.95 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.0002153/0.01483, allocations: 107.5 kB / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.01516, allocations: 81.77 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01516, allocations: 0 / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.0153, allocations: 39.67 kB / 0.8167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.01573, allocations: 11.59 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.01624, allocations: 174.6 kB / 0.8169 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01634, allocations: 72.39 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.01639, allocations: 9.016 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.01644, allocations: 12.5 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01644, allocations: 1.125 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.00563/0.02207, allocations: 1.041 MB / 0.818 GB, free: 10.42 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.232540362048894]