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.00104/0.00104, allocations: 73.97 kB / 20.66 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.0009308/0.0009308, allocations: 169.4 kB / 24.05 MB, free: 460 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.9756/0.9756, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6743 GB, free: 3.938 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 2.214e-06/2.214e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.904e-05, allocations: 15.78 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002153/0.002182, allocations: 0.7601 MB / 0.8802 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003754, allocations: 1.11 MB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.003813, allocations: 7.938 kB / 0.8813 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.003847, allocations: 7.922 kB / 0.8813 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.003939, allocations: 16.73 kB / 0.8813 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.004263, allocations: 47.83 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.004387, allocations: 76.8 kB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.004491, allocations: 16.11 kB / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004594, allocations: 43.84 kB / 0.8815 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.00465, allocations: 25.08 kB / 0.8815 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.004673, allocations: 8 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.004742, allocations: 19.98 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.004772, allocations: 13.05 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.004809, allocations: 27.91 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004958, allocations: 59.8 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.004962, allocations: 1 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.004964, allocations: 4 kB / 0.8816 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.004969, allocations: 0.7188 kB / 0.8816 GB, free: 3.801 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.0004664/0.005435, allocations: 396.3 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.005483, allocations: 8.625 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.00553, allocations: 10.31 kB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.005642, allocations: 128.4 kB / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005655, allocations: 384 / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005668, allocations: 8.375 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.005791, allocations: 59.56 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.005798, allocations: 0.9062 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.005808, allocations: 8.375 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.005814, allocations: 5.219 kB / 0.8822 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005846, allocations: 19.86 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.006269, allocations: 281 kB / 0.8825 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.006362, allocations: 40.41 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.00639, allocations: 19.8 kB / 0.8826 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.006406, allocations: 0 / 0.8826 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.006635, allocations: 72.41 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.006636, allocations: 0 / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001843/0.00682, allocations: 77.58 kB / 0.8827 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.006858, allocations: 55.41 kB / 0.8827 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.006958, allocations: 181.8 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.006976, allocations: 29.7 kB / 0.8829 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.007031, allocations: 138.9 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.007054, allocations: 19.83 kB / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.007108, allocations: 35.3 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007244, allocations: 0.4933 MB / 0.8836 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.007271, allocations: 7.984 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.007336, allocations: 73.78 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.007434, allocations: 88.91 kB / 0.8838 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007437, allocations: 4 kB / 0.8838 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000161/0.007598, allocations: 97.44 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007613, allocations: 4 kB / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.007619, allocations: 4 kB / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.00763, allocations: 0 / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.007733, allocations: 23.92 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.007737, allocations: 0 / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.007793, allocations: 11.94 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.007805, allocations: 8.219 kB / 0.8839 GB, free: 1.184 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 8.94e-05/0.007895, allocations: 164.6 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.007912, allocations: 15.94 kB / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.007937, allocations: 8.375 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007941, allocations: 3.984 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007943, allocations: 0 / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007946, allocations: 0 / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.008238, allocations: 321.9 kB / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.00824, allocations: 0 / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.008279, allocations: 7.938 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.008285, allocations: 7.984 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.008292, allocations: 8 kB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008294, allocations: 0 / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008295, allocations: 0 / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.008443, allocations: 219.8 kB / 0.8846 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.008453, allocations: 3.953 kB / 0.8847 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008468, allocations: 8 kB / 0.8847 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.008531, allocations: 7.922 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.008561, allocations: 7.984 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.008566, allocations: 0 / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.008614, allocations: 135.8 kB / 0.8848 GB, free: 220 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.008614, allocations: 4 kB / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002857/0.0089, allocations: 20 kB / 0.8848 GB, free: 196 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.0001334/0.009033, allocations: 99.19 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.009149, allocations: 47.92 kB / 0.885 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.00915, allocations: 0 / 0.885 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.00919, allocations: 19.69 kB / 0.885 GB, free: 12 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.009489, allocations: 21.03 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.0098, allocations: 166.6 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.009841, allocations: 60.28 kB / 0.8852 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.009873, allocations: 8 kB / 0.8852 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.009941, allocations: 78.19 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.009942, allocations: 0 / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.003544/0.01349, allocations: 1.167 MB / 0.8864 GB, free: 14.52 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.382126636337489]