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.00102/0.00102, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.00154/0.00154, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9816/0.9816, allocations: 177.2 MB / 204.5 MB, free: 5.484 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.044/2.044, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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 2.254e-06/2.254e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.007e-05, allocations: 6.109 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001445/0.001475, allocations: 0.7688 MB / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.002684, allocations: 1.116 MB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.002724, allocations: 1.062 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002752, allocations: 7.922 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.002824, allocations: 18.19 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.003062, allocations: 51.7 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.003154, allocations: 75.75 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.003242, allocations: 20.12 kB / 0.8814 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.003318, allocations: 35.91 kB / 0.8815 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.003363, allocations: 27.95 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.003377, allocations: 6.219 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.051e-05/0.003427, allocations: 19.98 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.00345, allocations: 19.91 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.003475, allocations: 23.92 kB / 0.8816 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.003577, allocations: 51.81 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00358, allocations: 7.922 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003581, allocations: 0.7188 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003584, allocations: 0 / 0.8816 GB, free: 3.758 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.0003543/0.003939, allocations: 402 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.003971, allocations: 12.03 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.004002, allocations: 4.938 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.004088, allocations: 124.5 kB / 0.8821 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.004102, allocations: 8.875 kB / 0.8821 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004112, allocations: 6.312 kB / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.00421, allocations: 66.88 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.004218, allocations: 192 / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.004225, allocations: 384 / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004231, allocations: 4.125 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.004251, allocations: 13.3 kB / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.004572, allocations: 288.2 kB / 0.8825 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.004644, allocations: 36.66 kB / 0.8825 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.004661, allocations: 19.66 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004675, allocations: 0 / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/0.004747, allocations: 69.2 kB / 0.8826 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.004748, allocations: 7.938 kB / 0.8826 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001451/0.004893, allocations: 77.62 kB / 0.8827 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.004928, allocations: 51.41 kB / 0.8827 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.00501, allocations: 189.8 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.005023, allocations: 25.7 kB / 0.883 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.005074, allocations: 138.9 kB / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.005093, allocations: 19.83 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.005132, allocations: 35.36 kB / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.00524, allocations: 0.4884 MB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.005261, allocations: 15.92 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.005305, allocations: 77.72 kB / 0.8837 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.005373, allocations: 85.75 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.005375, allocations: 0 / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001115/0.005486, allocations: 101.4 kB / 0.8839 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005498, allocations: 8 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005503, allocations: 0 / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.005512, allocations: 4 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.005589, allocations: 15.98 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005593, allocations: 4 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.005628, allocations: 11.94 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.005637, allocations: 4 kB / 0.8839 GB, free: 1.129 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.107e-05/0.005709, allocations: 172.7 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.005718, allocations: 7.938 kB / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.005741, allocations: 12.44 kB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005743, allocations: 0 / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.005746, allocations: 3.984 kB / 0.8841 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005749, allocations: 0 / 0.8841 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.005958, allocations: 321.8 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005959, allocations: 0 / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.005987, allocations: 8 kB / 0.8844 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.005989, allocations: 0 / 0.8844 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.005994, allocations: 3.984 kB / 0.8844 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005995, allocations: 4 kB / 0.8844 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005996, allocations: 4 kB / 0.8844 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.006097, allocations: 219.8 kB / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.006105, allocations: 7.953 kB / 0.8847 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.006114, allocations: 0 / 0.8847 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.006149, allocations: 11.98 kB / 0.8847 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.006174, allocations: 4 kB / 0.8847 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006179, allocations: 7.922 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.006216, allocations: 131.2 kB / 0.8848 GB, free: 164 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006216, allocations: 0 / 0.8848 GB, free: 164 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001702/0.006387, allocations: 19.98 kB / 0.8848 GB, free: 144 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.0001045/0.006491, allocations: 103.2 kB / 0.8849 GB, free: 32 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.006594, allocations: 47.59 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006595, allocations: 0 / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.006626, allocations: 28.08 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.006809, allocations: 11.92 kB / 0.885 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.007056, allocations: 167.3 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.007088, allocations: 59.34 kB / 0.8852 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.00711, allocations: 4 kB / 0.8852 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.007169, allocations: 82.19 kB / 0.8853 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.007169, allocations: 0 / 0.8853 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.002665/0.009835, allocations: 1.159 MB / 0.8864 GB, free: 14.48 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.485420400742441]