Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001004/0.001004, 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.001392/0.001392, allocations: 173 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 1.074/1.074, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.134/2.134, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.SampleTriggerPositiveStartTime,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.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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.951e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.798e-05/5.393e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002308/0.002362, allocations: 0.7636 MB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.004262, allocations: 1.118 MB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.004338, allocations: 4 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.004391, allocations: 7.875 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004517, allocations: 16.95 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.005027, allocations: 51.81 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.00519, allocations: 75.72 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.005347, allocations: 16.11 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.005465, allocations: 39.95 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.005534, allocations: 24.84 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.005562, allocations: 8 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.005652, allocations: 24.95 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.005685, allocations: 11.92 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.005732, allocations: 23.97 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005935, allocations: 56.92 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.005943, allocations: 4 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005944, allocations: 0 / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.005952, allocations: 5.125 kB / 0.8804 GB, free: 4.055 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.0006659/0.006618, allocations: 400.3 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.006679, allocations: 8.031 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.006774, allocations: 5.906 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.006946, allocations: 132.3 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.006967, allocations: 9.031 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.006985, allocations: 4.375 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.007197, allocations: 67.47 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007208, allocations: 1.312 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.007224, allocations: 4.375 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.007237, allocations: 4.125 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.007279, allocations: 16.61 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.00789, allocations: 297 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.008026, allocations: 47.05 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.008061, allocations: 16.5 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.008088, allocations: 7.938 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.008219, allocations: 69.72 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.008222, allocations: 1.094 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002602/0.008482, allocations: 81.62 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.008541, allocations: 55.34 kB / 0.8816 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.00867, allocations: 186.6 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.008693, allocations: 29.7 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.008772, allocations: 135.8 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.008797, allocations: 15.84 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.008855, allocations: 35.36 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.009009, allocations: 0.4919 MB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.00905, allocations: 12 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.009124, allocations: 73.78 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.009243, allocations: 102.4 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.009248, allocations: 0 / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001873/0.009435, allocations: 103.5 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.009465, allocations: 4 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.009473, allocations: 4 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.009494, allocations: 4.219 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.00964, allocations: 23.92 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.009647, allocations: 0 / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.009703, allocations: 15.94 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.009716, allocations: 4 kB / 0.8828 GB, free: 1.375 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.0001062/0.009822, allocations: 160.6 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.009839, allocations: 7.938 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.009877, allocations: 12.44 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.00988, allocations: 0 / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.009886, allocations: 0 / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.009891, allocations: 7.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.01024, allocations: 341.2 kB / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01025, allocations: 0 / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.01029, allocations: 7.984 kB / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.0103, allocations: 0 / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.0103, allocations: 0 / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01031, allocations: 7.938 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01031, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.01049, allocations: 231.8 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01051, allocations: 7.953 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.01052, allocations: 4 kB / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.01058, allocations: 0 / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01062, allocations: 7.984 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01063, allocations: 4 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.01069, allocations: 135.2 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.0107, allocations: 0 / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002564/0.01095, 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.0001794/0.01113, allocations: 111.2 kB / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.01128, allocations: 47.86 kB / 0.8838 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01128, allocations: 3.938 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/0.01134, allocations: 28.14 kB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.01163, allocations: 15.94 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.01203, allocations: 158.8 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.01208, allocations: 69.16 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.01212, allocations: 7.984 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.01215, allocations: 16.69 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.01215, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.003887/0.01604, allocations: 1.112 MB / 0.8852 GB, free: 14.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.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.545828927773982]